Question: Use the given data to classify the record below using the k-NN algorithm for k=1 to 5. Use the given data to classify the record
Use the given data to classify the record below using the k-NN algorithm for k=1 to 5.



Use the given data to classify the record below using the k-NN algorithm for k= 1 to 5. Loan Purpose Repairs Checking 0 Savings 900 Months Customer 25 Months Employed 4 B 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 3 4 5 (Round to four decimal places as needed.) 1 Checking 638 963 Savings 347 Months Customer 13 40 4754 493 6509 37 396 228 13 207 0 28 287 7 12348 128 0 13 0 109 25 0 746 13 Months Employed Credit Risk 14 High 45 Low 9 High 26 Low 116 Low 2 High 74 High 26 Low 16 Low 10 High o High 3 High 15 Low 53 High 56 High 87 High 23 Low 0 Low 0 667 29 31 399 0 899 303 13 0 544 19 0 25 12242 496 939 0 4449 19 25 25 0 Loan Purpose 2 Furniture 3 Education 4 Small Appliance 5 New Car 6 Repairs 7 Education 8 New Car 9 Used Car 10 Furniture 11 New Car 12 Used Car 13 Small Appliance 14 Furniture 15 Small Appliance 16 New Car 17 Small Appliance 18 Business 19 Small Appliance 20 New Car 21 Small Appliance 22 Furniture 23 Small Appliance 24 Repairs 25 Furniture 26 Business 27 New Car 28 Business 29 Small Appliance 30 Small Appliance 31 New Car 32 New Car 33 Furniture 34 Other 35 New Car 36 New Car 37 New Car 104 0 12 1851 3036 942 25 36 Low 0 19 643 909 0 25 0 762 10 216 262 37 113 692 11 172 0 25 0 0 25 2715 1435 49 0 19 418 552 6 Low 3 Low 1 High 2 High 14 Low 36 Low 19 High 14 High 4 Low 15 High 71 Low 46 Low 53 Low 83 High 22 Low 15 High 34 Low 0 13 2641 0 13 0 11587 22 0 142 7 852 61 0 12 3613 486 490 857 0 13 0 11 0 5857 19 0 207 13 0 813 43 949 0 49 0 503 13 0 941 13 0 38 Furniture 39 New Car 40 Small Appliance 41 New Car 42 Small Appliance 43 Furniture 44 Furniture 45 Small Appliance 46 New Car 47 Furniture 48 Business 49 Used Car 50 New Car 51 New Car 987 702 20 Low 119 High 28 High 36 Low 62 Low 111 Low 101 High 99 Low 2 Low 46 High 105 High 7 Low 103 High 39|Low 37 10 25 231 332 214 0 146 25 22 898 177 0 160 13 0 0 25 0 912 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
