Question: 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
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
