Data Analyst to Data Scientist, Module 6: Predictive Modelling, Judged by What Errors Cost
Predict a number and a yes-or-no outcome with scikit-learn, compare each with a baseline, then choose the decision threshold from what each kind of error costs the business. Two short scripts with their output.