Answered step by step
Verified Expert Solution
Question
1 Approved Answer
****Using the kNN method, and a calculator!*** Using the kNN approach that we discussed in the class, predict the class label for this test example,
****Using the kNN method, and a calculator!***
Using the kNN approach that we discussed in the class, predict the class label for this test example, X = (Home Owner = No, Marital Status = Married, Income = $120K). Assume that k =3 and distance is the L2 norm.
\begin{tabular}{ccccc} Tid & HomeOwner & MaritalStatus & AnnualIncome & DefaultedBorrower \\ \hline 1 & Yes & Single & 125K & No \\ \hline 2 & No & Married & 100K & No \\ \hline 3 & No & Single & 70K & No \\ \hline 4 & Yes & Married & 120K & No \\ \hline 5 & No & Divorced & 95K & Yes \\ \hline 6 & No & Married & 60K & No \\ \hline 7 & Yes & Divorced & 220K & No \\ \hline 8 & No & Single & 85K & Yes \\ \hline 9 & No & Married & 75K & No \\ \hline 10 & No & Single & 90K & Yes \end{tabular}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