Classifiers in Multiclass Classification
Let's consider two problem statements:
- An online trading company wants to provide additional benefits to its customers. The marketing analytics team has divided the customers into five categories based on when the last time they logged in to the platform was.
- The same trading company wants to build a recommendation system for mutual funds. This will recommend their users a mutual fund based on the risk they are willing to take, the amount they are planning to invest, and some other features. The number of mutual funds is well above 100.
Before you jump into more detail about the differences between these two problem statements, let's first understand the two common ways of approaching multiclass classification.
Multiclass classification can be implemented by scikit-learn in the following two ways:
One-versus-all (one-versus-rest) classifier: Here, one classifier is fit against one class. For each of the classifiers...