Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

Why must target encoding be computed within cross-validation folds?

  1. A Otherwise the target value leaks into the feature, inflating validation performance
  2. B It is computationally expensive
  3. C It requires balanced classes
  4. D Categories must be sorted first
Answer

Otherwise the target value leaks into the feature, inflating validation performance

Encoding a category using the target values of rows in the validation fold is a direct form of leakage.

All Machine Learning MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as