Title | HW9 F20 student-2-Nick-Brucker |
---|---|
Author | Nicholas Brucker |
Course | Data Mining and Business Analytics |
Institution | The University of Tennessee |
Pages | 6 |
File Size | 172.9 KB |
File Type | |
Total Downloads | 48 |
Total Views | 139 |
THIS IS THE HOMEWORK FOR CHAPTER 9 I AM ONLY...
Homework 9 - Regression Models and caret Nick Brucker Note: every time you need to use set.seed(), please do set.seed(2020) so that we all inject the same type of randomness into our code and come to the same answers! Question 1. The AUC (area under the ROC curve) is often used in business analytics to gauge the utility of a model because it tells us how well the model ranks probabilities. If a company needs to select the “500 customers most likely to …”, then the higher the value of AUC, the better the model will be at coming up with a list. The numerical value of the AUC can be interpreted as follows: If a random member of the “Yes” class is selected along with a random member of the “No” class, and the model scores both of them, the AUC tells us the probability that the model would give a higher score to the member of the Yes class. In this problem you are going to estimate the AUC value for the following actual and predicted vectors generated for you. Reference: ClassificationWithLogisticRegression.pdf, slide 90 - 91. # Run the following code: set.seed(2020) actual...