Linear and logistic regression
The two models every data scientist ships first, built by hand.
Start 6 problems
Problems
- 1R squared, with the flat-target caseEasy · 8 min · 10 hidden testsSolution free
- 2Fit a line by gradient descentMedium · 14 min · 11 hidden tests
- 3Ridge regression in closed formMedium · 15 min · 10 hidden tests
- 4Log loss that never returns infinityEasy · 8 min · 10 hidden tests
- 5One step of logistic regressionMedium · 14 min · 10 hidden tests
- 6Highest threshold that reaches a recall targetMedium · 14 min · 10 hidden tests
Practice it at full scale
Hands-on labs on real tooling, in your browser.