Question: Use the given data to classify the record below using the k-NN algorithm for k= 1 to 5. Checking 644 Savings 2000 Months Months Customer



Use the given data to classify the record below using the k-NN algorithm for k= 1 to 5. Checking 644 Savings 2000 Months Months Customer Employed 20 60 Loan Purpose Retraining 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 2 3 4 5 (Round to four decimal places as needed.) B G H LI Checking 0 287 0 Nm 0 0 216 0 watoto 461 0 0 713 0 0 0 0 514 893 959 0 Loan Purpose Business 3 Education Small Appliance Furniture 6 Small Appliance New Car 8 Small Appliance Business 10 Education 11 New Car 12 Used Car 13 Furniture 14 Small Appliance 15 Small Appliance 16 Small Appliance 17 Small Appliance 18 Small Appliance 19 Furniture 20 Furniture 21 Furniture 22 Furniture 23 Small Appliance 24 New Car 25 Other 26 Furniture 27 Furniture 28 New Car 29 New Car 30 Furniture 31 Business 32 Business 33 New Car 34 Business 35 Used Car 36 Used Car 37 New Car 38 Small Appliance 39 New Car 40 Small Appliance Savings 989 12348 490 0 897 140 763 322 784 759 104 706 710 405 0 7876 4449 945 199 979 692 823 821 0 192 0 113 0 0 560 D E F Months Customer Months Employed Credit Risk 49 o High 7 2 High 5 41 Low 19 3 High 19 5 Low 19 32 Low 13 46 Low 28 28 Low 61 17 High 16 59 High 37 25 High 31 14 Low 25 1 Low 49 13 High 16 94 Low 28 20 High 25 87 High 13 6 Low 25 5 High 25 48 High 11 14 Low 25 47 Low 48 5 Low 25 20 High 11 13 High 31 35 High 10 19 High 13 3 High 22 41 Low 19 29 Low 49 2 High 13 9 Low 25 18 High 37 49 High 43 O Low 25 31 High 37 65 Low 11 54 High 13 62 Low 887 0 0 0 0 0 0 0 18408 0 0 219 463 127 374 508 636 922 800 212 11481 0 841 113 6628 2141 503 0 0 19766 0 alom 41 Small Appliance 42 New Car 43 Repairs 44 New Car 45 New Car 46 Small Appliance 47 Furniture 48 Small Appliance 49 New Car 50 Business 51 Used Car 52 8249 382 0 0 538 211 642 296 315 670 883 2688 272 344 822 0 818 466 4014 607 31 31 10 7 13 8 13 19 13 31 37 77 Low 20 High 89 Low 90 High 40 High 5 Low 65 High 93 Low 3 Low 21 High 17 High 00 Use the given data to classify the record below using the k-NN algorithm for k= 1 to 5. Checking 644 Savings 2000 Months Months Customer Employed 20 60 Loan Purpose Retraining 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 2 3 4 5 (Round to four decimal places as needed.) B G H LI Checking 0 287 0 Nm 0 0 216 0 watoto 461 0 0 713 0 0 0 0 514 893 959 0 Loan Purpose Business 3 Education Small Appliance Furniture 6 Small Appliance New Car 8 Small Appliance Business 10 Education 11 New Car 12 Used Car 13 Furniture 14 Small Appliance 15 Small Appliance 16 Small Appliance 17 Small Appliance 18 Small Appliance 19 Furniture 20 Furniture 21 Furniture 22 Furniture 23 Small Appliance 24 New Car 25 Other 26 Furniture 27 Furniture 28 New Car 29 New Car 30 Furniture 31 Business 32 Business 33 New Car 34 Business 35 Used Car 36 Used Car 37 New Car 38 Small Appliance 39 New Car 40 Small Appliance Savings 989 12348 490 0 897 140 763 322 784 759 104 706 710 405 0 7876 4449 945 199 979 692 823 821 0 192 0 113 0 0 560 D E F Months Customer Months Employed Credit Risk 49 o High 7 2 High 5 41 Low 19 3 High 19 5 Low 19 32 Low 13 46 Low 28 28 Low 61 17 High 16 59 High 37 25 High 31 14 Low 25 1 Low 49 13 High 16 94 Low 28 20 High 25 87 High 13 6 Low 25 5 High 25 48 High 11 14 Low 25 47 Low 48 5 Low 25 20 High 11 13 High 31 35 High 10 19 High 13 3 High 22 41 Low 19 29 Low 49 2 High 13 9 Low 25 18 High 37 49 High 43 O Low 25 31 High 37 65 Low 11 54 High 13 62 Low 887 0 0 0 0 0 0 0 18408 0 0 219 463 127 374 508 636 922 800 212 11481 0 841 113 6628 2141 503 0 0 19766 0 alom 41 Small Appliance 42 New Car 43 Repairs 44 New Car 45 New Car 46 Small Appliance 47 Furniture 48 Small Appliance 49 New Car 50 Business 51 Used Car 52 8249 382 0 0 538 211 642 296 315 670 883 2688 272 344 822 0 818 466 4014 607 31 31 10 7 13 8 13 19 13 31 37 77 Low 20 High 89 Low 90 High 40 High 5 Low 65 High 93 Low 3 Low 21 High 17 High 00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
