Module 9: Evaluating Models & Avoiding Bias
- Interpret accuracy, precision, and recall for a classification model
- Explain why accuracy alone can be misleading on imbalanced data
- Recognize common sources of bias in training data
A model's accuracy score alone can be dangerously misleading. If only 1% of transactions in a dataset are fraudulent, a model that predicts "not fraud" every single time will be 99% accurate while catching zero fraud, which is why analysts also use precision (of the cases flagged positive, how many actually were) and recall (of all actual positive cases, how many were caught). This module also covers bias: if a hiring model is trained on ten years of a company's past hiring decisions, and those decisions reflected human bias against a particular group, the model will learn and often amplify that same bias, even without being told anyone's demographic group directly, because other correlated variables can act as proxies.
1. Recall measures:
2. On a dataset where only 1% of cases are truly positive, why can a 99% accuracy score be misleading?
3. A hiring model trained on biased historical decisions is likely to: