Question: 2 . Here is a dataset, using Euclidian Distance ( in handout 4 slide 1 0 ) Measure and the 5 - nearest neighbor techniques,
Here is a dataset, using Euclidian Distance in handout slide Measure and the nearest neighbor techniques, predict the following new data is likely to be in which class based on
COSC
Web Mining and Information Retrieval
simple majority voting. Hint combine the weight and height attributes into a ratioweightheight which could simply the dimensions data into dimension If you want to use the mathrmd vector to calculate, you need to normalize first since weight is in the range of and height is in the range of which are not the same measurement
begintabularllll
hline Name & Weight & Height & Class
hline Kristina & lb & m & Average
hline Jim & lb & m & Average
hline Maggie & lb & m & Average
hline Martha & lb & m & Underweight
hline Stephanie & lb & m & Overweight
hline Bob & lb & m & Average
hline Kathy & lb & m & Average
hline Dave & lb & m & Underweight
hline Worth & lb & m & Underweight
hline Steven & lb & m & Average
hline Debbie & lb & m & Overweight
hline Todd & lb & m & Overweight
hline Kim & lb & m & Underweight
hline Amy & lb & m & Average
hline Lynette & lb & m & Overweight
hline
endtabular
a John lb m
bquad Kelly mathrmlbmathrm~m
cquad Sam mathrmlbmathrm~m
d Laura lb m
equad Mike mathrmlbmathrm~m
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
