Maximum no of classes in a multi classification problem



Hi All,

i want to know what are the maximum no of classes in a multi class classification that a classifier can classify or what are optimum no of classes in a multi class classification problem dataset


Hi @ksmvsn,

As per my knowledge, there is no specified limit to the number of classes for a multi-class classification problem. But as the number of classes increase, say it reaches 1000, the performance of the model tends to decrease.

For instance, if you have 2 classes, the probability of each class (for a particular data point) is suppose 0.3 and 0.7. Now if you have 10 classes, probability difference between each class would be very less. Hence the predictions might not be very accurate.


Their is no limit of number of multi-class classification but it will depend upon the your data.
but more no of classification category will decrease the model accuracy