Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

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

Use the given data to classify the record below using the k-NN algorithm for k=1 to 5.
Please provide the distance of all 5 and the classification or what to pick on the drop down.
Thank you.
Loan Purpose Checking Savings Months Customer Months Employed Credit Risk
New Car 038919119 High
Small Appliance 9660254 High
Education 2871234872 High
Used Car 001958 High
Small Appliance 940715940 Low
Small Appliance 169351893760 Low
Small Appliance 01387119 Low
Small Appliance 0897195 Low
New Car 5800118 High
Small Appliance 0552254 High
Small Appliance 01464316115 Low
New Car 00229 High
Business 153280259 Low
Education 032811920 High
Small Appliance 0108532581 Low
Small Appliance 0122422553 High
New Car 04662542 High
Small Appliance 1297419568137 Low
Used Car 02602578 Low
Large Appliance 0775198 High
Furniture 1136921114 Low
Used Car 788563301614 Low
Furniture 0506253 High
Furniture 617411313 Low
New Car 0821485 Low
New Car 0771250 High
Used Car 01009916108 Low
Used Car 01342870 Low
Large Appliance 01238130 High
Small Appliance 03641312 Low
Used Car 133603711 Low
Furniture 089442566 Low
Furniture 0142753 Low
Education 040375 Low
Retraining 06031335 High
Furniture 0139701324 High
New Car 07131329 High
Small Appliance 05031362 Low
Small Appliance 05961367 Low
New Car 0531135 High
Small Appliance 651037102 Low
New Car 3828833120 High
Small Appliance 2420196 Low
Small Appliance 0171241395 Low
Used Car 06124932 High
Small Appliance 05193123 Low
New Car 04122522 High
Furniture 033692517 Low
Used Car 02762591 Low
New Car 0025103 High
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Fundamentals of Cost Accounting

Authors: William Lanen, Shannon Anderson, Michael Maher

5th edition

978-1259728877, 1259728870, 978-1259565403

Students also viewed these Finance questions