Answered step by step
Verified Expert Solution
Question
1 Approved Answer
SS Question 3 : K - Nearest Neighbours [ 2 2 ] We have the height ( in cm ) and weight ( in kg
SS Question : KNearest Neighbours We have the height in cm and weight in kg dala of customers how have previously bought shirts at our store, showing the size of the shirts they bought, shown in Table customer height weight shirt size AT M M M M M L CO Cle L CH L CH L Cus L C L C L CS L Cut L CLB Table : Shirt size data John comes into our store to buy a shirt. He is m tall, and weighs kga Draw a diagram to show the relative position of all instances, as well as John's data. Label the diagram completely and correctly. b Write down the formula to calculate the Manhattan distance between points M and Pinxyspace. Use this formula to calculate the distance between John and the first instances from Table Rank the customers by their distances from John, trom closest to furthest. Show your workings. c Show how NW knearest neighbours with will classity John's shirt size. Use the values in your calculations from the previous question. Show all your steps. d Why is it important to standardise the data set when a classification algorithm such as kNN is used? Use the data in Table as a reference to explain your answer. e What does it mean when we say the kNN algorithm is nonparametric?
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