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 Loan Purpose Checking Savings Months Customer

Use the given data to classify the record below using the k-NN algorithm for k = 1 to 5

Loan Purpose Checking Savings Months Customer Months Employed New Car 250 250 15 48

image text in transcribed

Complete the table below for the nearest neighbors and for the classification of the new record for each value of k.

For classification section please tell if its tie high or low

image text in transcribed

c G B D E F 1 Loan Purpose Checking Savings Months Customer Months Employed Credit Risk 3 Furniture 0 0 25 23 High 4 Used Car 0 0 19 58 High 5 Furniture 0 162 25 1 High 6 Furniture 664 537 31 33 High 7 Small Appliance 265 947 25 5 High 8 Education 0 0 37 114 High 9 New Car 0 667 29 10 High 0 Business 758 2665 13 31 Low 1 Business 674 2886 49 32 Low 2 Education 713 784 61 17 High -3 Education 0 3281 19 20 High -4 Education 1257 0 10 65 Low 5 Repairs 273 904 7 2 Low -6 Small Appliance 0 192 46 13 High -7 New Car 939 496 19 56 High 8 Business 12760 4873 13 73 Low 9 Business 0 104 25 23 Low co Small Appliance o 970 13 14 Low 1 New Car 192 7 2 Low 2 Used Car 7885 6330 16 14 Low 3 Small Appliancel 734 348 7 100 Low -4 New Car 0 544 25 o High 5 Education 522 385 10 66 Low 26 Small Appliance 0 3529 o Low 7 Small Appliance 0 418 19 -8 Small Appliance 0 208 13 23 Low 9 Small Appliance 152 757 49 45 High 0 New Car 0 374 10 19 High 1 Furniture 0 180 5 2 Low 2 Small Appliance 0 296 16 8 Low 3 Small Appliancel 0 11838 7 70 Low 4 Other 852 3613 61 83 High 5 Business 0 3285 7 21 Low 6 New Car 0 486 12 22 Low #7 Furniture 4089 0 7 14 Low 8 Used Car 0 973 49 81 High =9 Small Appliance 596 13 67 | Low 10 Furniture 0 7710 25 114 Low +1 Business 257 460 49 75 High 2 Furniture 0 12721 37 31 Low 3 Small Appliance 2846 0 13 14 Low 94 New Car 332 214 25 2 Low 15 New Car 0 862 49 62 High 6 New Car 135 0 37 7 High +7 Small Appliancel 211 822 8 5 Low 18 New Car 122 460 37 109 High 29 Small Appliance 17653 22 4 Low 50 New Car 3880 0 23 37 Low 1 New Car 0 912 7 39 Low 14 4 Low 2 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.) Enter your answer in the edit fields and then click Check Answer. c G B D E F 1 Loan Purpose Checking Savings Months Customer Months Employed Credit Risk 3 Furniture 0 0 25 23 High 4 Used Car 0 0 19 58 High 5 Furniture 0 162 25 1 High 6 Furniture 664 537 31 33 High 7 Small Appliance 265 947 25 5 High 8 Education 0 0 37 114 High 9 New Car 0 667 29 10 High 0 Business 758 2665 13 31 Low 1 Business 674 2886 49 32 Low 2 Education 713 784 61 17 High -3 Education 0 3281 19 20 High -4 Education 1257 0 10 65 Low 5 Repairs 273 904 7 2 Low -6 Small Appliance 0 192 46 13 High -7 New Car 939 496 19 56 High 8 Business 12760 4873 13 73 Low 9 Business 0 104 25 23 Low co Small Appliance o 970 13 14 Low 1 New Car 192 7 2 Low 2 Used Car 7885 6330 16 14 Low 3 Small Appliancel 734 348 7 100 Low -4 New Car 0 544 25 o High 5 Education 522 385 10 66 Low 26 Small Appliance 0 3529 o Low 7 Small Appliance 0 418 19 -8 Small Appliance 0 208 13 23 Low 9 Small Appliance 152 757 49 45 High 0 New Car 0 374 10 19 High 1 Furniture 0 180 5 2 Low 2 Small Appliance 0 296 16 8 Low 3 Small Appliancel 0 11838 7 70 Low 4 Other 852 3613 61 83 High 5 Business 0 3285 7 21 Low 6 New Car 0 486 12 22 Low #7 Furniture 4089 0 7 14 Low 8 Used Car 0 973 49 81 High =9 Small Appliance 596 13 67 | Low 10 Furniture 0 7710 25 114 Low +1 Business 257 460 49 75 High 2 Furniture 0 12721 37 31 Low 3 Small Appliance 2846 0 13 14 Low 94 New Car 332 214 25 2 Low 15 New Car 0 862 49 62 High 6 New Car 135 0 37 7 High +7 Small Appliancel 211 822 8 5 Low 18 New Car 122 460 37 109 High 29 Small Appliance 17653 22 4 Low 50 New Car 3880 0 23 37 Low 1 New Car 0 912 7 39 Low 14 4 Low 2 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.) Enter your answer in the edit fields and then click Check

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_2

Step: 3

blur-text-image_3

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

The Logistics Audit Methods Organization And Practice

Authors: Piotr Buła, Bartosz Niedzielski

1st Edition

1032461268, 978-1032461267

More Books

Students also viewed these Accounting questions

Question

Presentations Approaches to Conveying Information

Answered: 1 week ago