Loading lesson…
Level 1 · Apprentice0 XP
Predict a category, and why random forests and boosting win on tables.
Step 1 / 6
ProblemYou have a table of customers: months active, support tickets, plan, last login. You want a probability that each will cancel next month.
← → step
Before this: Linear regression and gradient descent
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Train a logistic regression and a HistGradientBoostingClassifier on a public tabular dataset (for example a churn dataset). Compare precision and recall, and choose a threshold from a cost table you invent.