Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A B D Months Customer Checking 963 Savings 4754 229 E F Months Employed Credit Risk 45 Low 40 13 16 Low 1 Loan Purpose
A B D Months Customer Checking 963 Savings 4754 229 E F Months Employed Credit Risk 45 Low 40 13 16 Low 1 Loan Purpose 2 Education 3 New Car 4 Used Car 5 Small Appliance 6 Business 0 2484 0 49 46 Low 237 236 37 24 Low 16647 895 16 34 Low 7 New Car 0 1366 19 17 Low 513 442 7 O Low 8 Furniture 9 Furniture 10 New Car 0 8357 25 13 0 637 318 19 457 5133 698 6851 901 13496 650 19 13 19 25 19 5 High 21 High 108 Low 14 High 21 Low 20 High 14 High 15 Low 17 High O Low 7 High 509 241 544 0 317 13 10980 1851 0 0 500 12 28 19 0 643 6 Low 11 Furniture 12 Small Appliance 13 Small Appliance 14 Furniture 15 Business 16 Furniture 17 Small Appliance 18 Small Appliance 19 New Car 20 Small Appliance 21 Used Car 22 Small Appliance 23 New Car 24 Furniture 25 Business 26 Education 27 Small Appliance 28 Small Appliance 29 New Car 30 Used Car 0 6345 25 19 Low 0 19 93 Low 0 18716 886 461 22 96 Low 0 13 48 Low 8948 110 31 90 High 0 3105 16 19 Low 483 415 19 0 364 5 6 High 35 Low 3 High O Low 497 888 16 0 999 25 1 Loan Purpose Checking Savings Months Customer Months Employed Credit Risk 31 Business 0 25 1 High 500 859 0 31 89 Low 32 Used Car 33 Business 859 3305 25 26 Low 34 New Car 0 11587 22 46 Low 35 Education 977 463 10 36 New Car 0 490 13 61 High 15 High 23 High 0 859 19 0 5857 19 20 Low 37 Business 38 Furniture 39 Small Appliance 40 Used Car 0 726 19 0 904 49 41 New Car 0 541 19 7 High 119 High 13 High 33 High 1 Low 42 New Car 0 716 19 929 124 9 0 14190 37 92 Low 0 396 49 73 High 40 Low 0 15800 16 43 Business 44 New Car 45 Used Car 46 Large Appliance 47 Furniture 48 New Car 49 Small Appliance 50 Furniture 51 Used Car 0 369 7 23 Low 789 989 31 765 10 10406 957 o High 24 Low 11 High 7 Low 0 19 0 160 - 13 - Use the given data to classify the record below using the k-NN algorithm for k= 1 to 5. Loan Purpose Furniture Checking 101 Savings 3871 Months Customer 10 Months Employed 16 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 1 3 4 5 (Round to four decimal places as needed.) A B D Months Customer Checking 963 Savings 4754 229 E F Months Employed Credit Risk 45 Low 40 13 16 Low 1 Loan Purpose 2 Education 3 New Car 4 Used Car 5 Small Appliance 6 Business 0 2484 0 49 46 Low 237 236 37 24 Low 16647 895 16 34 Low 7 New Car 0 1366 19 17 Low 513 442 7 O Low 8 Furniture 9 Furniture 10 New Car 0 8357 25 13 0 637 318 19 457 5133 698 6851 901 13496 650 19 13 19 25 19 5 High 21 High 108 Low 14 High 21 Low 20 High 14 High 15 Low 17 High O Low 7 High 509 241 544 0 317 13 10980 1851 0 0 500 12 28 19 0 643 6 Low 11 Furniture 12 Small Appliance 13 Small Appliance 14 Furniture 15 Business 16 Furniture 17 Small Appliance 18 Small Appliance 19 New Car 20 Small Appliance 21 Used Car 22 Small Appliance 23 New Car 24 Furniture 25 Business 26 Education 27 Small Appliance 28 Small Appliance 29 New Car 30 Used Car 0 6345 25 19 Low 0 19 93 Low 0 18716 886 461 22 96 Low 0 13 48 Low 8948 110 31 90 High 0 3105 16 19 Low 483 415 19 0 364 5 6 High 35 Low 3 High O Low 497 888 16 0 999 25 1 Loan Purpose Checking Savings Months Customer Months Employed Credit Risk 31 Business 0 25 1 High 500 859 0 31 89 Low 32 Used Car 33 Business 859 3305 25 26 Low 34 New Car 0 11587 22 46 Low 35 Education 977 463 10 36 New Car 0 490 13 61 High 15 High 23 High 0 859 19 0 5857 19 20 Low 37 Business 38 Furniture 39 Small Appliance 40 Used Car 0 726 19 0 904 49 41 New Car 0 541 19 7 High 119 High 13 High 33 High 1 Low 42 New Car 0 716 19 929 124 9 0 14190 37 92 Low 0 396 49 73 High 40 Low 0 15800 16 43 Business 44 New Car 45 Used Car 46 Large Appliance 47 Furniture 48 New Car 49 Small Appliance 50 Furniture 51 Used Car 0 369 7 23 Low 789 989 31 765 10 10406 957 o High 24 Low 11 High 7 Low 0 19 0 160 - 13 - Use the given data to classify the record below using the k-NN algorithm for k= 1 to 5. Loan Purpose Furniture Checking 101 Savings 3871 Months Customer 10 Months Employed 16 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 1 3 4 5 (Round to four decimal places as needed.)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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