[Machine Learning] Multiclass Classification

To classify data into multiple classes, we let our hypothesis function return a vector of values. Say we wanted to classify our data into one of four categories. We will use the following example to see how this classification is done. This algorithm takes as input an image and classifies it accordingly:

Because you need to always +1 basis

原文地址:https://www.cnblogs.com/Answer1215/p/13624619.html