Question: ****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 method, and a calculator!*** Using the kNN approach that

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!