# hw4.pdf - Assignment 4 This assignment is not graded so you...

• No School
• AA 1
• 9

This preview shows page 1 - 3 out of 9 pages.

Assignment 4 This assignment is not graded so you don’t need to submit. We will discuss Problem 1 and Problem 2 in the class. I strongly encourage you to do Problem 3 and Problem 4 so that you may learn how to use Weka for classification. Problem 1 Consider the following dataset: ID A1 A2 A3 Class 1 Medium Mild East Y 2 Low Mild East N 3 High Mild East N 4 Low Mild West N 5 Low Cool East N 6 Medium Hot West N 7 High Hot East Y 8 Low Cool West Y 9 Medium Hot East Y 10 High Cool East Y 11 Medium Mild East N 12 Low Cool West N (1). Derive classification rules using the 1R method which we discussed in the class. (2). Classify a new instance X = ( A1 = Medium, A2 = Cool, A3 = East) using the rules. Problem 2 Consider the following dataset: ID A1 A2 A3 Class 1 Medium Mild East Y 2 Low Mild East N 3 High Mild East N 4 Low Mild West N 5 Low Cool East N 6 Medium Hot West N 7 High Hot East Y 8 Low Cool West Y 9 Medium Hot East Y 10 High Cool East Y 11 Medium Mild East N 12 Low Cool West N Suppose we have a new tuple X = ( A1 = Medium, A2 = Cool, A3 = East). Predict the class label of X using Naïve Bayes classification.

Subscribe to view the full document.