seniorNaïve Bayes
How does Naïve Bayes behave under extreme class imbalance?
Updated May 17, 2026
Short answer
Naïve Bayes becomes biased toward the majority class unless priors or weights are adjusted.
Deep explanation
In imbalanced datasets, prior probabilities dominate posterior computation. If not corrected, the model may always predict the majority class. Techniques like prior adjustment, resampling, or cost-sensitive learning help mitigate this issue. However, NB can still perform surprisingly well in skewed text classification tasks.
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro