Question: Using the same beer preference data in the file P17_05.xlsx, discretize the Income and Age variables according to their quartiles. Then use the nave Bayes
Using the same beer preference data in the file P17_05.xlsx, discretize the Income and Age variables according to their quartiles. Then use the naïve Bayes procedure to classify the 100 customers as having Regular or Light preference. Based on these results, consider a new customer: Male, Married, Income $42,000, Age 47. How would you classify this customer?
Step by Step Solution
3.59 Rating (163 Votes )
There are 3 Steps involved in it
Individual Gender Married Income Age Beer Preference 1 1 0 37779 45 Regular 2 0 1 44955 53 Regular 3 1 0 36896 48 Regular 4 1 1 70981 45 Light 5 1 0 38990 36 Regular 6 1 1 51126 41 Light 7 0 1 45133 5... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (3 attachments)
1209_60bca5b5d5f23_564929.pdf
180 KBs PDF File
1209-M-S-D-A(8958).xlsx
300 KBs Excel File
1209_60bca5b5d5f23_564929.docx
120 KBs Word File
