Question: Use the given data to classify the record below using the k-NN algorithm for k = 1 to 5. Loan Purpose Business Checking 790 Savings



Use the given data to classify the record below using the k-NN algorithm for k = 1 to 5. Loan Purpose Business Checking 790 Savings 3000 Months Months Customer Employed 8 24 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. Distance Classification k 1 2 3 High 4 Low 5 Tie (Round to four decimal places as needed.) Checking 652 0 Months Customer 49 0 13 25 25 19 0 461 0 565 15328 900 25 10 25 37 31 25 1 Loan Purpose 2 Furniture 3 Small Appliance 4 Used Car 5 Used Car 6 New Car 7 Furniture 8 Small Appliance 9 Business 10 Small Appliance 11 Furniture 12 Small Appliance 13 Business 14 Furniture 15 Large Appliance 16 Small Appliance 17 Small Appliance 18 Business 19 Furniture 20 Used Car 21 Business 22 New Car 23 Furniture 24 Other 25 Small Appliance 0 0 0 13496 0 0 Savings 732 407 109 789 140 8357 863 0 1732 706 710 565 650 409 12242 4449 104 199 320 406 0 7525 887 415 19 19 49 25 25 Months Employed Credit Risk 4 High 2 Low 26 Low 28 Low 32 Low 5 High 81 Low 9 Low 11 High 14 Low 1 Low 14 High 20 High 15 High 53 High 87 High 23 Low 5 High 54 Low 35 Low 19 High 4 Low 20 High 6 High 0 0 192 105 25 25 28 6 0 25 13 0 352 560 483 25 19 0 0 13 13 40 0 0 0 2 High 12 Low 74 Low 29 Low 2 High 17 High 89 Low 27 Low 53 Low O Low 19 49 25 31 31 645 0 0 0 7 219 0 22 Low 65 Low 0 0 26 Education 27 Small Appliance 28 Used Car 29 Business 30 Business 31 Other 32 Used Car 33 Small Appliance 34 Furniture 35 Used Car 36 New Car 37 Small Appliance 38 New Car 39 Small Appliance 40 Furniture 41 Furniture 42 Repairs 43 Used Car 44 Used Car 45 New Car 46 New Car 47 New Car 48 Business 49 New Car 50 Small Appliance 51 New Car O Low 238 364 1519 922 800 855 859 867 142 841 486 6628 102 337 987 538 2688 396 0 412 4071 466 4014 547 10406 579 43 12 37 7 25 37 25 0 0 0 0 0 646 10 49 25 25 0 478 315 670 0 107 Low 101 High 59 | High 89 Low 73 High 9 Low 22 High 40 High 3 Low 21 High 40 High 24 Low 70 Low 10 13 31 13 10 765 0 22 Use the given data to classify the record below using the k-NN algorithm for k = 1 to 5. Loan Purpose Business Checking 790 Savings 3000 Months Months Customer Employed 8 24 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. Distance Classification k 1 2 3 High 4 Low 5 Tie (Round to four decimal places as needed.) Checking 652 0 Months Customer 49 0 13 25 25 19 0 461 0 565 15328 900 25 10 25 37 31 25 1 Loan Purpose 2 Furniture 3 Small Appliance 4 Used Car 5 Used Car 6 New Car 7 Furniture 8 Small Appliance 9 Business 10 Small Appliance 11 Furniture 12 Small Appliance 13 Business 14 Furniture 15 Large Appliance 16 Small Appliance 17 Small Appliance 18 Business 19 Furniture 20 Used Car 21 Business 22 New Car 23 Furniture 24 Other 25 Small Appliance 0 0 0 13496 0 0 Savings 732 407 109 789 140 8357 863 0 1732 706 710 565 650 409 12242 4449 104 199 320 406 0 7525 887 415 19 19 49 25 25 Months Employed Credit Risk 4 High 2 Low 26 Low 28 Low 32 Low 5 High 81 Low 9 Low 11 High 14 Low 1 Low 14 High 20 High 15 High 53 High 87 High 23 Low 5 High 54 Low 35 Low 19 High 4 Low 20 High 6 High 0 0 192 105 25 25 28 6 0 25 13 0 352 560 483 25 19 0 0 13 13 40 0 0 0 2 High 12 Low 74 Low 29 Low 2 High 17 High 89 Low 27 Low 53 Low O Low 19 49 25 31 31 645 0 0 0 7 219 0 22 Low 65 Low 0 0 26 Education 27 Small Appliance 28 Used Car 29 Business 30 Business 31 Other 32 Used Car 33 Small Appliance 34 Furniture 35 Used Car 36 New Car 37 Small Appliance 38 New Car 39 Small Appliance 40 Furniture 41 Furniture 42 Repairs 43 Used Car 44 Used Car 45 New Car 46 New Car 47 New Car 48 Business 49 New Car 50 Small Appliance 51 New Car O Low 238 364 1519 922 800 855 859 867 142 841 486 6628 102 337 987 538 2688 396 0 412 4071 466 4014 547 10406 579 43 12 37 7 25 37 25 0 0 0 0 0 646 10 49 25 25 0 478 315 670 0 107 Low 101 High 59 | High 89 Low 73 High 9 Low 22 High 40 High 3 Low 21 High 40 High 24 Low 70 Low 10 13 31 13 10 765 0 22
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
