Question
Question 1: Using only Marital_Status, Education, Occupation, and Relationship variables, find the number of neighbors (k) that minimizes the error rate. Use a range of
Question 1: Using only "Marital_Status," "Education," "Occupation," and "Relationship" variables, find the number of neighbors (k) that minimizes the error rate. Use a range of k between 3 and 10. Include the "k Selection Error Log" output when submitting the answer.
Question 2: Using the same variables and the k selected in Question 1, rerun the nearest neighbor model using the feature selection option in the IBM SPSS Modeler. What is the set of variables that minimize the error rate? Include the "Predictor Selection Error Log" output when submitting the answer.
Question 3: Using the value of k and the set of variables that minimizes the error rate, rerun the k-Nearest Neighbor model. What is the classification table? Include the pivot table output when submitting the answer.
Question 4: Consider the following individual: Marital_Status=Never-married, Education=Masters, Occupation=Sales, and Relationship=Not-in-family. Based on the k-Nearest Neighbor model from Question 3, how would this individual be classified? Provide the predicted income level (">50K" or "<=50K") and explain the process that you used to determine the income level. Include the table illustrating the data when submitting the answer.
Question 5: Describe the model building process you used to determine whether or not a particular survey taker earned an annual salary of $50,000 or more. Include discussion of the accuracy of the k-Nearest Neighbor model and how it can be used in practice to impute the answer to the question, "Is your annual salary $50,000 or more?"
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