How can we evaluate the success of a machine learning model? For regression, we can simply compute and compare loss functions. For classification however, the loss function is not really intuitive. Instead we introduce simple concepts such as the confusion matrix, and precision/recall. We also talk about the ROC curve, which can help us to choose the right classification parameters.
![](https://i.ytimg.com/vi/txcnZAIyyeg/maxresdefault.jpg)