Question: 1. Use Naive Bayes Classifier for predicting whether the customer was male or female?Use caret::confusionMatrix to construct the confusion matrix for your Naive Bayes Classifier
1. Use Naive Bayes Classifier for predicting whether the customer was male or female?Use caret::confusionMatrix to construct the confusion matrix for your Naive Bayes Classifier Model 2. Use K-Nearest Neighbor for predicting whether the customer was male or female?Use caret::confusionMatrix to construct the confusion matrix for your Naive Bayes Classifier Model
3. Compare your two models( Naive bayes & knn alogorithm) using sensitivity, specificity. and compare the ROC charts of your two models.
4. Compare the lift charts of your two models.
Please anwser question 3 & 4 only. I have already asked the first 2 questions I was unable to attach the whole excel fiel nut there are 1000 columns and teh rows are shown in the screenshot
CAn you answer these questions using R programming in R studio. please also mention which packages and libraries to install
Ready Accessibility: Good to go
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
