Problem 2 Suppose we have height and weight and its corresponding Tshirt size of several customers. Your task is to predict the T-shirt size of Anna, whose height is 161cm and her weight is 61kg. Use KNN algorithm with K=5 and Square distance formula. Height (in cms) 158 158 158 160 Weight (in kgs) 58 59 T shirt size M M M 63 59 160 163 60 60 163 160 61 64 163 165 64 61 165 165 62 65 168 168 62 63 168 66 63 170 170 64 170 68

Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter11: Nonlinear Programming
Section11.1: Review Of Differential Calculus
Problem 6P
icon
Related questions
Question
Problem 2
Suppose we have height and weight and its corresponding Tshirt size of
several customers. Your task is to predict the T-shirt size of Anna, whose
height is 161cm and her weight is 61kg. Use KNN algorithm with K=5 and
Square distance formula.
Height (in cms)
158
Weight (in kgs)
58
T shirt size
M
M
158
158
160
59
63
59
M
M
160
163
M
M
60
60
163
160
61
M
64
163
165
165
165
64
61
62
65
168
168
62
63
168
66
170
170
63
64
170
68
Transcribed Image Text:Problem 2 Suppose we have height and weight and its corresponding Tshirt size of several customers. Your task is to predict the T-shirt size of Anna, whose height is 161cm and her weight is 61kg. Use KNN algorithm with K=5 and Square distance formula. Height (in cms) 158 Weight (in kgs) 58 T shirt size M M 158 158 160 59 63 59 M M 160 163 M M 60 60 163 160 61 M 64 163 165 165 165 64 61 62 65 168 168 62 63 168 66 170 170 63 64 170 68
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Probability Problems
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole