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

Use the given data to classify the record below using the k-NN algorithm for k=1 to 5. Months Months Loan Purpose Checking Savings Customer Employed New Car 250 250 15 48 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.) B F G OOOOO D E 1 Loan Purpose Checking Savings Months Custot Months Emplo Credit Risk 2 Furniture 638 347 13 14 High 3 Furniture 2827 0 11 13 Low 4 New Car 0 229 13 16 Low 5 New Car 0 3305 11 15 Low 6 Business 322 578 10 14 Low 7 Used Car 0 19 58 High 8 Small Applian 3565 0 31 32 low 9 Small Applian 0 138 7 119 Low 10 New Car 166 922 13 2 High 11 Business 9783 885 13 3 High 12 Repairs 0 626 43 O Low 13 New Car 806 19 3 High 14 Used Car 104 37 25 High 15 New Car 116 49 45 High 16 Furniture 0 13 94 Low 17 Other 0 25 54 High 18 Small Applian 317 10980 13 17 High 19 Furniture 192 199 25 5 High 20 New Car 942 3036 25 36 Low re 21 New Car 3329 0 19 15 High 22 Used Car 0 6345 25 19 Low 23 Furniture 0 948 19 2 low 24 Business 339 2790 22 25 Used Car 7885 6330 16 14 Low 26 Small Applian 0 3273 13 4 High 27 Furniture 0 835 19 28 Repairs 0 718 19 o High 29 Furniture 0 493 13 21 Low 30 New Car 0 9125 13 24 High 31 Small Applianc 156 0 13 58 High 32 Furniture 0 635 22 41 Low 33 New Car 682 2017 37 85 High 34 Education 0 164 13 65 Low 35 New Car 8060 607 19 71 low 36 Education 972 463 10 61 High 37 Small Appliang 0 6628 37 65 low 38 New Car 852 11 39 Small Appliand 298 3326 73 15 High 40 Small Applian 726 19 7 High 41 New Car 483 19 90 High 42 New Car 127 7 13 Low 43 Small Applian 596 13 67 Low 44 Business 177 0 49 9 Low 45 Small Appliane 25 46 Furniture 435 19 16 High Small Applian 914 19 O High 48 Used Car 2472 10 37 41 Low 49 Small Applian 16630 11 47 low 50 Small Applian 296 818 19 93 Low 51 Furniture 815 19 13 High 55 High 42 High 34 Low 798 42 High Use the given data to classify the record below using the k-NN algorithm for k=1 to 5. Months Months Loan Purpose Checking Savings Customer Employed New Car 250 250 15 48 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.) B F G OOOOO D E 1 Loan Purpose Checking Savings Months Custot Months Emplo Credit Risk 2 Furniture 638 347 13 14 High 3 Furniture 2827 0 11 13 Low 4 New Car 0 229 13 16 Low 5 New Car 0 3305 11 15 Low 6 Business 322 578 10 14 Low 7 Used Car 0 19 58 High 8 Small Applian 3565 0 31 32 low 9 Small Applian 0 138 7 119 Low 10 New Car 166 922 13 2 High 11 Business 9783 885 13 3 High 12 Repairs 0 626 43 O Low 13 New Car 806 19 3 High 14 Used Car 104 37 25 High 15 New Car 116 49 45 High 16 Furniture 0 13 94 Low 17 Other 0 25 54 High 18 Small Applian 317 10980 13 17 High 19 Furniture 192 199 25 5 High 20 New Car 942 3036 25 36 Low re 21 New Car 3329 0 19 15 High 22 Used Car 0 6345 25 19 Low 23 Furniture 0 948 19 2 low 24 Business 339 2790 22 25 Used Car 7885 6330 16 14 Low 26 Small Applian 0 3273 13 4 High 27 Furniture 0 835 19 28 Repairs 0 718 19 o High 29 Furniture 0 493 13 21 Low 30 New Car 0 9125 13 24 High 31 Small Applianc 156 0 13 58 High 32 Furniture 0 635 22 41 Low 33 New Car 682 2017 37 85 High 34 Education 0 164 13 65 Low 35 New Car 8060 607 19 71 low 36 Education 972 463 10 61 High 37 Small Appliang 0 6628 37 65 low 38 New Car 852 11 39 Small Appliand 298 3326 73 15 High 40 Small Applian 726 19 7 High 41 New Car 483 19 90 High 42 New Car 127 7 13 Low 43 Small Applian 596 13 67 Low 44 Business 177 0 49 9 Low 45 Small Appliane 25 46 Furniture 435 19 16 High Small Applian 914 19 O High 48 Used Car 2472 10 37 41 Low 49 Small Applian 16630 11 47 low 50 Small Applian 296 818 19 93 Low 51 Furniture 815 19 13 High 55 High 42 High 34 Low 798 42 High
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
