Preporato
CoursesCertificationsLabs
Preporato
CoursesCertificationsLabs
ML practiceStep 6 of 12

Linear and logistic regression

The two models every data scientist ships first, built by hand.

Start 6 problems

Problems

  1. 1R squared, with the flat-target caseEasy · 8 min · 10 hidden testsSolution free
  2. 2Fit a line by gradient descentMedium · 14 min · 11 hidden tests
  3. 3Ridge regression in closed formMedium · 15 min · 10 hidden tests
  4. 4Log loss that never returns infinityEasy · 8 min · 10 hidden tests
  5. 5One step of logistic regressionMedium · 14 min · 10 hidden tests
  6. 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.

Your First Machine Learning ModelData Cleaning and Feature Engineering
Gradient descentModel evaluation