Question: Reconsider Problem 2.9. Using the data on the Clean Data worksheet tab, partition the historical records into a training partition (60 percent of the records)
Reconsider Problem 2.9. Using the data on the Clean Data worksheet tab, partition the historical records into a training partition (60 percent of the records) and a validation partition (the remaining 40 percent of the records).
a. Searching over values of k from 1 to 9, find the best value for k in the KNN algorithm when it is used to classify applicants from the validation partition as likely to graduate (or not).
b. Using the best value for k determined in part a, determine the accuracy, sensitivity, and specificity for the algorithm.
c. Using the best value for k determined in part a, generate the lift chart for the algorithm.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
