Mark Yourself Question
A model will assign a risk score at hospital discharge. For each candidate practice, say whether it is appropriate as written and why: (a) include a billing code finalized two weeks after discharge; (b) select variables using the full dataset before cross-validation; (c) fit imputation rules and feature selection within each training fold before scoring its held-out fold; (d) retain a low-cost predictor with similar held-out performance to a costly correlated alternative after checking governance requirements.
Unlock full course notes by signing up
Variable Selection: difficulty 3
After all feature selection and tuning are completed using training data, three frozen candidate models have mean squared errors of 14, 16, and 12 on the same untouched validation set. Which model has the best observed validation result? Explain why using this set to choose among candidates makes it validation data, then state what evaluation should follow and one reason the result alone does not prove it will be best in every future setting.