Answered step by step
Verified Expert Solution
Link Copied!

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 2 gives height and weight data on 12 people with their BMI classification, as
well as data on a 13-th person with unknown BMI classification.
height weight
person m kg class
p11.8372 normal
p21.8968 normal
p31.71104 serverely obese
p41.76100 obese
p51.5659 obese
p61.6695 obese
p71.8981 normal
p81.8677 normal
p91.7695 obese
p101.5350 normal
p111.4645 normal
p121.5359 obese
p131.8080?
Table 2: Height and weight data with BMI classification.
(a) Use the Body Mass Index (BMI) formula (given in the Appendix on p.7 to
calculate the BMI for each of the 13 persons. Calculate the difference in BMI
between p13 and the 12 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. (7)
(b) If we want to use kNN to classify the new instance, o8, what would be a good
value for k? Justify your answer. (4)
(c) Use kNN with k =3,4, and 5 to classify person p13. 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions