Sweep max_depth over [2, 3, 5, 8] and return the four test-set recalls, rounded…

Machine Learning · from Decision trees

DecisionTreeClassifierexport_textginimax_depthfeature_importances_greedy splitting

Putting the kettle on…

Starting up…

Exercise 3

Sweep max_depth over [2, 3, 5, 8] and return the four test-set recalls, rounded to 4 places. Watch how long it takes to find anything at all.

your answer
stuck? the lesson behind it
Decision trees
A program made of if-statements — that predicts "on time" in every single leaf