how to do multiclass classification in Naive Bayes
Multiclass classification in Naive Bayes
Hi @ishabehera,
The Naive Bayes classifier is inherently suitable for multi-class problems.
The Naive Bayes formula help us to evaluate P(Ci / X), i.e., the Probability of a class given a feature vector. This probability can be evaluated for all possible classes/labels, and, the class with the highest probability is assigned to the sample which needs to be classified.
Hope this helps!
ok… so the formula shown in the video will work for multi-class also ?
Yes Komal, the same formula is suitable for multi-class problems too.
Happy Learning!