Skip to main content
Theorem
Path
Curriculum
Paths
Labs
Diagnostic
Case Study
Blog
Search
Sign in
Quiz Hub
/
Data Preprocessing and Feature Engineering
Data Preprocessing and Feature Engineering
4 selected
Difficulty 2-3
4 unseen
View topic
Foundation
New
0 answered
4 foundation
Adapts to your performance
Question 1 of 4
120s
foundation (2/10)
conceptual
Which preprocessing workflow creates data leakage?
Hide and think first
A.
Fit the scaler on the full dataset, then split into train and test sets
B.
Fit the model on training data, then compute metrics on a held-out test set
C.
Split first, fit the scaler on training data, then apply it to test data
D.
Save the training-set mean and standard deviation for reproducible deployment
Show Hint
Submit Answer
I don't know