Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1) Divide the data set to Train, Test Data Sets Question 2) Use Naive Bayes Classifier for predicting whether the customer was male or female?
1) Divide the data set to Train, Test Data Sets Question 2) Use Naive Bayes Classifier for predicting whether the customer was male or female? Question 3) Use caret::confusionMatrix to construct the confusion matrix for your Naive Bayes Classifier Model Question 4) Use K-Nearest Neighbor for predicting whether the customer was male or female? Question 5) Use caret::confusionMatrix to construct the confusion matrix for your Naive Bayes Classifier Model Question 6) Compare your two models using sensitivity, specificity. Question 7) Compare the ROC charts of your two models. Question 8) Compare the lift charts of your two models
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started