Keeping Selection and Assessment Separate

A research team predicts monthly spending for new households from independently sampled household records. Its candidates and squared-error selection rule have already been specified. The team will use one training sample, one validation sample, and an untouched test sample, then refit the chosen procedure before final assessment.


Arrange the actions in the order required by this workflow. All missing-value replacements and scaling values are estimated from data, so their estimation must follow the same sample restrictions as model fitting.

  1. 1.

    Apply training-derived preprocessing to validation records and calculate each candidate's validation loss.

  2. 2.

    Relearn preprocessing and refit the locked procedure using the combined training and validation samples.

  3. 3.

    Choose the candidate with the lowest validation loss and lock its tuning settings.

  4. 4.

    Divide household records into training, validation, and untouched test samples.

  5. 5.

    Learn preprocessing on the training sample and fit each candidate using that sample.

  6. 6.

    Apply the refitted procedure to the untouched test sample and report its prediction loss.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Model Selection Methods and Machine Learning Questions: