Visualizing Losses for Binary Classification

This page hosts a Jupyter Notebook for plotting loss functions for binary classification.

Downloads:

 


The horizontal axis, z, represents the ground truth output y* multiplied by the classifier score f(x) for an input x. Since this is binary classification, y* is either -1 or 1 and f(x) is a scalar.




Please contact me with issues, bug reports, etc.

CC0 All materials on this page are released under CC0 1.0 Universal (public domain).

Back to my teaching materials.