Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Table 2 gives height and weight data on 1 2 people with their BMI classification, as well as data on a 1 3 - th
Table gives height and weight data on people with their BMI classification, as
well as data on a th person with unknown BMI classification.
height weight
person m kg class
p normal
p normal
p serverely obese
p obese
p obese
p obese
p normal
p normal
p obese
p normal
p normal
p obese
p
Table : Height and weight data with BMI classification.
a Use the Body Mass Index BMI formula given in the Appendix on p to
calculate the BMI for each of the persons. Calculate the difference in BMI
between p and the known persons. Show the results in a table, and order
the BMI differences from low to high. Show the resulting ordering in your table.
Show all your calculations.
b If we want to use kNN to classify the new instance, o what would be a good
value for k Justify your answer.
c Use kNN with k and to classify person p Write your answer in the
form of a table showing the BMI, differences, and the order of people from this
distance Interpret your results in terms of the different values for k
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