Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the given data to classify the record below using the k-NN algorithm for k=1 to 5. Click the icon to view the table of

image text in transcribedimage text in transcribed

Use the given data to classify the record below using the k-NN algorithm for k=1 to 5. Click the icon to view the table of classified records. k 1 2 3 4 5 (Round to four decimal places as needed.) Loan Purpose New Car Checking 250 Savings 250 Complete the table below for the nearest neighbors and for the classification of the new record for each value of k. Distance Classification Months Customer 15 Months D Employed 48 Loan Purpose Small Appliance New Car New Car New Car Business Small Appliance Other Small Appliance Furniture Small Appliance Small Appliance Education New Car Furniture Furniture Small Appliance Small Appliance Business Small Appliance Used Car Furniture Repairs Furniture Furniture New Car Education New Car Used Car Used Car Used Car Furniture Furniture New Car Used Car Retraining Education New Car Small Appliance New Car Other Used Car New Car Furniture Furniture Education Small Appliance Used Car Furniture Education Furniture Checking 0 OOO 0 0 0 141 940 218 265 4256 0 0 0 9621 0 876 959 12974 0 0 0 ---------.......... 0 0 468 0 644 522 585 0 0 1336 0 0 425 0 0 197 0 0 0 0 271 0 759 0 842 0 0 0 0 161 Savings 739 229 3305 10723 245 715 0 947 0 552 14643 3281 308 12632 1533 7876 19568 265 1851 6345 948 772 14186 506 1571 385 2223 10099 13428 0 734 4486 0 0 603 0 490 726 483 523 7090 531 596 12721 0 17124 612 3369 471 524 Months Customer 13 13 ==229925 16 25 16 11 11 49 19 25 16 31 28 13 13 12 25 19 25 22 25 19 10 16 16 7 37 37 10 19 37 13 37 13 19 19 37 25 13 10 37 37 13 49 25 7 13 Months Employed 12 16 15 15 33 40 0 5 36 4 115 20 41 9 21 20 7 10 0 19 2 19 24 3 1 66 0 108 0 11 111 3 7 49 35 17 15 7 90 0 2 5 18 31 9 95 32 17 52 106 Credit Risk Low Low Low Low Low Low Low High Low High Low High High Low High High Low Low Low Low Low Low Low High High Low High Low Low Low High Low High High High Low High High High Low High High High Low Low Low High Low High Low Use the given data to classify the record below using the k-NN algorithm for k=1 to 5. Click the icon to view the table of classified records. k 1 2 3 4 5 (Round to four decimal places as needed.) Loan Purpose New Car Checking 250 Savings 250 Complete the table below for the nearest neighbors and for the classification of the new record for each value of k. Distance Classification Months Customer 15 Months D Employed 48 Loan Purpose Small Appliance New Car New Car New Car Business Small Appliance Other Small Appliance Furniture Small Appliance Small Appliance Education New Car Furniture Furniture Small Appliance Small Appliance Business Small Appliance Used Car Furniture Repairs Furniture Furniture New Car Education New Car Used Car Used Car Used Car Furniture Furniture New Car Used Car Retraining Education New Car Small Appliance New Car Other Used Car New Car Furniture Furniture Education Small Appliance Used Car Furniture Education Furniture Checking 0 OOO 0 0 0 141 940 218 265 4256 0 0 0 9621 0 876 959 12974 0 0 0 ---------.......... 0 0 468 0 644 522 585 0 0 1336 0 0 425 0 0 197 0 0 0 0 271 0 759 0 842 0 0 0 0 161 Savings 739 229 3305 10723 245 715 0 947 0 552 14643 3281 308 12632 1533 7876 19568 265 1851 6345 948 772 14186 506 1571 385 2223 10099 13428 0 734 4486 0 0 603 0 490 726 483 523 7090 531 596 12721 0 17124 612 3369 471 524 Months Customer 13 13 ==229925 16 25 16 11 11 49 19 25 16 31 28 13 13 12 25 19 25 22 25 19 10 16 16 7 37 37 10 19 37 13 37 13 19 19 37 25 13 10 37 37 13 49 25 7 13 Months Employed 12 16 15 15 33 40 0 5 36 4 115 20 41 9 21 20 7 10 0 19 2 19 24 3 1 66 0 108 0 11 111 3 7 49 35 17 15 7 90 0 2 5 18 31 9 95 32 17 52 106 Credit Risk Low Low Low Low Low Low Low High Low High Low High High Low High High Low Low Low Low Low Low Low High High Low High Low Low Low High Low High High High Low High High High Low High High High Low Low Low High Low High Low

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Behavioral Finance And Investor Types

Authors: Michael M. Pompian

1st Edition

1118011503, 978-1118011508

More Books

Students also viewed these Finance questions