The ridge/lasso worked example picked and with no justification beyond "these values work." This note supplies the missing discipline: cross-validation, which estimates test error directly by repeatedly holding out data, and information criteria (AIC, BIC), which estimate it analytically from the training fit alone. Both answer the same question — "how much should I trust a candidate value of , or a candidate model, to generalise?" — the honest version of the train/test protocol from Topic 1, extended to choosing between models rather than just evaluating one.
In this lesson
- Learning objectives
- Cross-validation
- Information criteria
- Worked example: choosing via cross-validation
Before you start
The full lesson, with worked examples and exercise solutions, is for members.
Read the full lessonNew to SelfMadeQuant.com? See membership options or browse the Financial Machine Learning syllabus.