Day 211 — The label is a modelling decision, not a given
Friday, 5 March 2027 · Week 31 of 52 · Machine learning · Study day · 60 min
Regression on raw forward return, classification on its sign, and ranking within the cross-section are three different problems with three different loss functions, and picking one by habit throws away the choice.
What you should be able to do tonight
- State what each of the three label types optimises and which one matches how you actually trade.
- Report the same model’s performance under all three labels, evaluated on a common metric.
Tasks 60 min
35 min Fit all three and evaluate them on the same footing: convert each model’s output into a portfolio through the same score-to-weight map, and report information ratio rather than the model’s native metric. A classifier with a great AUC and a poor information ratio is the normal outcome and this is where you see it.
25 min Say what the fixed-horizon label assumes: that the return over a fixed window is what you care about, regardless of the path. Name two situations where that is false, which are a stop loss and any position you would have exited early, and note that tomorrow’s method addresses exactly this.
Resources
Deliverable
notebooks/day-211-labels.ipynb with three label types compared on a common information ratio metric.
Checkpoint
Your classifier has an AUC of 0.54 and an information ratio of 0.1. Are those consistent, and which do you report?
Prepare for tomorrow
Ten minutes tonight so Day 212, Saturday, 6 March 2027 starts clean. This is what the evening email sends you.
Read the description of the triple barrier method from the López de Prado seminar slides.
Write down the three barriers and what each one represents in trading terms.
Sketch one path hitting each barrier.