Search⌘ K

Unmask the Hypocrite Classifier

Explore how to detect and understand hypocrite classifiers in binary classification tasks. This lesson teaches you to analyze classifier tendencies, use hyperparameters to vary predictions, and interpret evaluation metrics such as confusion matrices to identify classifiers that add no real value despite misleading accuracy.

The predict_death classifier does not add any insight, it outperforms the random classifier concerning overall accuracy. This exploits the prevalence, the ratio between the two possible values, not being 0.5.

The confusion matrix reveals more details on certain areas. For example, it shows that the predict_death classifier lacks any recall and predicts actual positives. This is no surprise since ...