Naive Bayes Classifier

How it works

Naive Bayes predicts the probability of a class based on prior knowledge of conditions related to that class. It assumes all features are independent (the "naive" assumption).

The formula maximizes:

Select a dataset to see the calculated probabilities and run your own predictions below.

Dataset (shown: 14; total 14)

idoutlooktemphumiditywindplay
1sunnyhothighfalseno
2sunnyhothightrueno
3overcasthothighfalseyes
4rainymildhighfalseyes
5rainycoolnormalfalseyes
6rainycoolnormaltrueno
7overcastcoolnormaltrueyes
8sunnymildhighfalseno
9sunnycoolnormalfalseyes
10rainymildnormalfalseyes
11sunnymildnormaltrueyes
12overcastmildhightrueyes
13overcasthotnormalfalseyes
14rainymildhightrueno

Configuration

Column Roles
id
outlook
temp
humidity
wind
play