Sweep thresholds from 0.05 to 0.90 in steps of 0.05 and return [cheapest_thresh…

Machine Learning · from Capstone: a classification project

PipelineGridSearchCVthreshold from costsconfusion_matrixDummyClassifier

Putting the kettle on…

Starting up…

Exercise 2

Sweep thresholds from 0.05 to 0.90 in steps of 0.05 and return [cheapest_threshold, its_cost] under a ₹200 miss and ₹5 alarm.

your answer
stuck? the lesson behind it
Capstone: a classification project
End to end, with the threshold chosen from money rather than from 0.5