← Quiz: Feature Engineering: all 10 questions
Quiz: Feature Engineering · Question 3 of 10
Where must the mean and standard deviation for standardisation come from?
Where must the mean and standard deviation for standardisation come from?
- A.The whole dataset, including the test set
- B.The training data only, then reused for test and new data
- C.Each new row separately
- D.The test set only
Answer & explanation
Correct answer: The training data only, then reused for test and new data
Using test rows to compute them leaks information.
Can you get the rest right without peeking?
Take the timed Quiz: Feature Engineering quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →