Design a worksheet in MS Excel to implement Naive Bayes Classifier. The worksheet shall
include the following:
• It should allow users to create and store training data tuples. Let the attributes in the
tuples be nominal and output labels belong to one among ‘K’ classes.
• It should compute “K’ class aprioi probabilities.
• It should compute class conditional probabilities of each attribute taking values from
the set of values
• it should utilize these computed class conditional probabilities to classify
future/unknown data tuples based on MAP criterion.Please refer to the table given below. It has four nominal attributes viz. Weather, temperature,
Humidity and Wind. Let the output variable be Play which would take two values either ‘Yes’
or ‘No’ i.e. K = 2.
Comments
Leave a comment