2
6.2kviews
Apply the Naive Bayes classifier algorithm to classify an unknown sample X (outlook = sunny, temperature = cool, humidity = high, windy = false ) The sample data set is as follows:
Outlook Temperature Humidity Windy Class
Sunny Hot High False N
Sunny Hot High True N
Overcast Hot High False P
Rain Mild High False P
Rain Cool Normal False P
Rain Cool Normal True N
Overcast Cool Normal True P
Sunny Mild High False N
Sunny Cool Normal False P
Rain Mild Normal False P
Sunny Mild Normal True P
Overcast Mild High True P
Overcast Hot Normal False P
Rain Mild High True P
1 Answer
3
980views

Consider the tuple X to classify.
X= (outlook = sunny, temperature = cool, humidity = high, windy = false)

The data tuple described by the attribute outlook, temperature, humidity, windy
The class label class which has 2 distinct values P and N
The C1 corresponds to the class P & …

Create a free account to keep reading this post.

and 3 others joined a min ago.

Please log in to add an answer.