Question: Consider the following training data that includes a set of ages and a binary variable y that indicates the presence of heart disease: x =
Consider the following training data that includes a set of ages and a binary variable y that indicates the presence of heart disease: x = (68, 78, 70, 67, 66, 59), y=(1, 1, 1, 0, 0, 0)
a. Use k-NN with k=3 to classify the point x=72.
b. Classify the same point using LDA.
Step by Step Solution
★★★★★
3.33 Rating (141 Votes )
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
k Nearest Neighbours in excel K Nearest neighbor method Calculate the absolute distance of each obse... View full answer
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
