Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The goal of this assignment is to create a k - nearest neighbor model to classify births as low - risk. This is a two
The goal of this assignment is to create a knearest neighbor model to classify births as lowrisk. This is a twostep process requiring you to first run a model, then answer questions based on the model.Step Run the model:Before you run the model, get some insights into the data. Of the variables you have, what factors impact low birth weight? Show evidence using charts. Remember, these are hunchesso you are not looking for a specific answer, just your take on how you read the data.Run a knearest neighbor model and search for a k between and Partition your dataset into training and validation these are defaults to run your model. You will be using a cutoff probability of that is if half or more of the nearest neighbors have a lowbirthweight baby, the mother in question will be also classified as having a lowbirthweight babyStep Answer the following questions after running the model:What is the best k that minimizes the error of classification?For this k what are the Precision, Specificity, and Sensitivity of the model? Remember to use the confusion matrix from the validation datasetWhat is the Precision, Specificity, and Sensitivity if the cutoff probability is decreased to If it is increased to Hint: Simply rerun the model with the appropriate cutoff to get the confusion matrix. Analytic Solver will put new tabs on the spreadsheet with the updated cutoffMark the three cutoffs on the ROC curve. Hint: See Professor Ganeshan's slides just cut and paste the ROC curve from the output and mark itWhat is the AUC of your model? What does it tell you about the model?Given a choice, would you use a higher or lower cutoff when compared to for the classification? Why? Why not?
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