Files
rasbt--python-machine-learn…/faq/naive-bayes-boundary.md
T
2026-07-13 13:38:23 +08:00

14 lines
331 B
Markdown

# What is the decision boundary for Naive Bayes?
It's a (piecewise) quadratic decision boundary for the Gaussian model. The multinomial model has a linear boundary.
Below, I plotted some examples:
1) UCI Wine Dataset
![](./naive-bayes-boundary/gaussian_1.png)
2) An XOR toy dataset
![](./naive-bayes-boundary/gaussian_2.png)