Why we use fit_transform() for Training Data but only transform() for Testing Data
When you start working with machine learning pipelines, one of the first things you’ll notice is that we often write code like this:
from sklearn.preprocessing import StandardScaler
scaler = StandardScaler()
# Training set
X_train_scaled = scaler...
sukrit00.hashnode.dev3 min read