Multiclass classification is a type of classification that categorizes data into multiple classes. This method is different from the previous classification methods we have used so far, which all involved binary classification. One-versus-rest is one such type.
Multiclass classification for URL classification
One-versus-rest
The one-versus-rest form of multiclass classifier involves training a single class with positive samples, and labeling all other classes as negative. This method requires that the base class produces a confidence with real value, as we see in binary classification where a class label is produced. The following graph displays the results of this classification style:
![](https://static.packt-cdn.com/products/9781788992282/graphics/assets/77c3d9f4-7837-41d0-8e4b-ba96ebb49af7.png)
The base classifier here is logistic...