Build a leakage-safe classifier and scalar optimizer. Fit a simple baseline and classifier; calculate a scalar gradient update. Reserve the neural-network comparison for Week 2.
Read the script’s setup instructions and run it on your own computer. The website does not execute code or verify your results.
// Independent work
W01-LAB
Week 1: A leakage-safe classifier and scalar optimizer
Fit a simple baseline and classifier; calculate a scalar gradient update. Reserve the neural-network comparison for Week 2.
Extend the guided artifact rather than start a second project. Group overlap is empty; preprocessing is fitted only on training records; predictions, confusion counts, and one gradient update are checked.
What to produce
A leakage-safe classifier and scalar optimizer
Setup commands, data or generation procedure, versions, and recorded outputs
Acceptance results and a precise limitation
Check your work
Group overlap is empty; preprocessing is fitted only on training records; predictions, confusion counts, and one gradient update are checked.
Each claimed execution is supported by actual saved output.
Fixture results and real model results are identified separately.
Setup and reproduction use the taught tools without private credentials.
Self-assessment rubric
Technical correctness · 35 points
Implementation or analysis follows the relevant technical mechanism and handles the stated case.
Evaluation and evidence · 30 points
Reproducible tests, appropriate baseline, and accurate interpretation.
Engineering quality · 20 points
Clear structure, safe boundaries, and usable reproduction instructions.
Explanation and reflection · 15 points
Explains tradeoffs, limitations, and next experiment with evidence.
// Retrieve before you reread
Week 1 knowledge check
Try all 6 questions. Check your answers, review the explanations, and retry whenever you like. Answers are checked on this device.