Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use Default data in ISLR package. Split it into 50% training set and 50% test set using '2298'. (1) Construct naive Bayes classifier / classification
Use "Default" data in "ISLR" package. Split it into 50% training set and 50% test set using '2298'.
(1) Construct naive Bayes classifier / classification tree classifier / logistic regression classifier.
(2) For each classifier make an ROC curve, calculate the AUC, and compare the three classifiers.
Use "Default" data in "ISLR" package. Split it into 50% training set and 50% test set using number 2010
1. Construct (a) a naive Bayes classifier, (b) a classification tree classifier, and (c) a logistic regression classifier.
2. For each classifier, make an ROC curve, calculate the AUC, and compare the three classifiers.
3. For each classifier, find the optimal cutoff value to maximize the accuracy. Compare the three classifiers.
4. For each classifier, find the optimal cutoff value to maximize the F1 score. Compare the three classifiers.
I'd really appreciate your help.
I'm really desperate. Thanks a lot.
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