---
title: "Naive Bayes advantages and disadvantages"
subject: "Data Mining"
chapter: 3
key: "semester_7/data_mining:naive-bayes-pros-cons"
source: https://www.bctengineer.com/q/semester_7/data_mining/naive-bayes-pros-cons
site: BCT Engineering
---

# Naive Bayes advantages and disadvantages

Data Mining · Chapter 3: Classification

- Asked in: year not given
- Video: [Naive Bayes Classifier! Advantages, dissadvantages and the maths behind it.](https://www.youtube.com/watch?v=ZH9rbNQscRI) — Data Unite
- Answer checked by Claude Opus 5.5 (high effort) on 2026-10-14
- Page: https://www.bctengineer.com/q/semester_7/data_mining/naive-bayes-pros-cons
- Whole chapter: https://www.bctengineer.com/md/semester_7/data_mining/chapter-3

## Question

What are the advantages and disadvantages of Naïve Bayes Classifier?

## Short answer

Naïve Bayes is simple, fast, works with small data, handles missing values, and is incrementally updatable. Disadvantages include the independence assumption, zero-probability problem, and inability to model attribute interactions.

## Answer

#### Advantages
- **Simple, fast and easy to implement**; training needs a single scan of the data (counting), and classification is quick.
- Works well with **small training sets** and is efficient on large and **high-dimensional** data (e.g. text, spam filtering).
- Gives **probabilistic** output (class membership probability).
- Handles **categorical and continuous** attributes, and multi-class problems.
- Tolerates **noise and missing values** (a missing attribute is simply left out of the calculation).
- Its accuracy is often comparable to that of decision trees and neural networks, and the model is **incrementally updatable** (new data only update the counts).

#### Disadvantages
- The **class-conditional independence** assumption is often false, which can reduce accuracy when attributes are strongly correlated.
- **Zero-probability problem** when a value is never seen with a class; it needs Laplacian correction.
- Needs **prior probabilities**; wrong estimates reduce accuracy.
- Continuous attributes are assumed to follow a (normal) distribution, which may not hold.
- Probability estimates are often unreliable, though the ranking of classes can still be right.
- Cannot learn interactions between attributes.

## Check yourself

The answer's key points as multiple-choice questions, with the correct option and why.

1. How much data scanning does Naive Bayes training need?
   A. A single scan to count
   B. One pass per attribute with iteration
   C. Repeated epochs
   D. Building a full tree first
   Answer: A. Training is just counting. (Key point: Training cost)

2. What is the main weakness?
   A. It cannot handle categorical attributes
   B. The independence assumption is often false
   C. It cannot do multi-class
   D. It needs no prior probabilities
   Answer: B. Correlated attributes reduce accuracy. (Key point: Main weakness)

3. How does Naive Bayes handle a missing attribute value?
   A. The record is discarded
   B. The value is set to zero
   C. The attribute is ignored in the calculation
   D. Training stops
   Answer: C. It tolerates missing values this way. (Key point: Missing values)

## Related in Data Mining

- [Naive Bayes and Laplacian correction](https://www.bctengineer.com/question.md?key=semester_7%2Fdata_mining%3Anaive-bayes-laplace) — Data Mining, chapter 3
- [Buys computer: ID3 and Naive Bayes](https://www.bctengineer.com/question.md?key=semester_7%2Fdata_mining%3Abuys-computer-id3-naive-bayes) — Data Mining, chapter 3
- [Play golf: ID3 and Naive Bayes](https://www.bctengineer.com/question.md?key=semester_7%2Fdata_mining%3Aplay-golf-id3-naive-bayes) — Data Mining, chapter 3
