In this video we study one main application of machine learning: Classification. We want to understand how to classify data, to distinguish for instance pictures of cats and dogs. Classification can be done with binary logistic regression. In this video we discuss the math behind classification, using the sigmoid function, log loss, and softmax regression.