medium10 pts · first answer countsml-pipelinesdata-leakagescikit-learn
Scaling before splitting
What is wrong with this preprocessing order?
X_scaled = StandardScaler().fit_transform(X) X_train, X_test, y_train, y_test = train_test_split(X_scaled, y)
Discussion 0
Join free to post in the discussion.
Related questions
- Why pipelines are DAGsMLOps Engineer
- What a Kubeflow component isMLOps Engineer
- MLflow logging callsMLOps Engineer
- What mlflow.autolog() doesMLOps Engineer
- What a .dvc file holdsMLOps Engineer
- Training broke after a fresh installMLOps Engineer
- Bundling preprocessing with the modelMLOps Engineer
- Feast basic objectsMLOps Engineer