Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use the given data to classify the record below using the k-NN algorithm for k = 1 to 5. Months Months Loan Purpose Repairs
Use the given data to classify the record below using the k-NN algorithm for k = 1 to 5. Months Months Loan Purpose Repairs Checking Savings Customer Employed 900 25 Click the icon to view the table of classified records. Complete the table below for the nearest neighbors and for the classification of the new record for each value of k. k Distance Classification 1 2 Tie 4 Low High (Round to four decimal places as needed.) Loan Purpose Checking Savings Months Customer Months Employed Credit Risk Furniture 638 347 13 14 High Education 963 4754 40 45 Low Small Appliance 6509 493 37 9 High New Car 396 228 13 26 Low Repairs 207 28 116 Low 2 High 74 High Education 287 12348 7 New Car 128 13 Used Car 109 25 26 Low Furniture 746 13 16 Low 10 High 0 High 3 High New Car 667 29 Used Car 399 31 Small Appliance 303 899 13 Furniture 544 19 15 Low 53 High 56 High Small Appliance 12242 25 New Car 939 496 19 Small Appliance 4449 25 87 High Business 104 25 23 Low Small Appliance 1851 12 0 Low New Car 942 3036 25 36 Low Small Appliance 643 19 6 Low Furniture 909 25 3 Low Small Appliance 762 10 1 High Repairs 216 262 37 2 High Furniture 113 692 11 14 Low Business 172 25 36 Low 19 High 14 High New Car 25 Business 2715 1435 49 Small Appliance Small Appliance 418 19 4 Low 552 13 15 High New Car 2641 13 71 Low New Car 11587 22 46 Low Furniture 142 53 Low Other 852 3613 61 83 High New Car 486 12 22 Low New Car 490 13 15 High New Car 857 11 34 Low Furniture 5857 19 20 Low New Car 207 13 119 High Small Appliance 43 28 High 813 New Car 949 49 36 Low Small Appliance 503 13 62 Low Furniture 941 13 111 Low Furniture 987 37 101 High Small Appliance 231 702 10 99 Low New Car 332 214 25 2 Low Furniture 146 25 46 High Business 898 177 22 105 High Used Car 160 13 7 Low New Car 25 103 High New Car 912 7 39 Low
Step by Step Solution
★★★★★
3.38 Rating (157 Votes )
There are 3 Steps involved in it
Step: 1
K Nearest Neighbour is a simple algorithm that stores all the available cases and classifies the new ...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