Bartleby Related Questions Icon

Related questions

bartleby

Concept explainers

Question

4, 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
Repairs
0
900
25
4
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
enter your response here
High
Low
Tie
2
enter your response here
High
Low
Tie
3
enter your response here
High
Low
Tie
4
enter your response here
Low
High
Tie
5
enter your response here
High
Tie
Low
​(Round to four decimal places as​ needed.)
Loan Purpose
Checking
Savings
Months
Customer
Months
Employed
Credit
Risk
Business
322
578
10
14
Low
New Car
0
821
25
63
High
New Car
0
10723
11
15
Low
Small Appliance
0
407
13
2
Low
Business
16647
895
16
34
Low
Used Car
0
109
25
26
Low
Furniture
664
537
31
33
High
New Car
0
667
29
10
High
Furniture
0
8357
25
5
High
New Car
0
759
16
59
High
Small Appliance
303
899
13
3
High
Small Appliance
0
192
46
13
High
New Car
0
116
49
45
High
Furniture
0
544
19
15
Low
Small Appliance
0
10853
25
81
Low
Furniture
0
322
13
9
Low
Small Appliance
0
717
22
10
High
Business
339
2790
22
55
High
Used Car
0
309
49
37
Low
Repairs
0
772
25
19
Low
Business
0
406
6
35
Low
Furniture
0
461
13
48
Low
New Car
0
0
25
19
High
New Car
0
544
25
0
High
Small Appliance
0
418
19
4
Low
Small Appliance
483
415
19
6
High
New Car
0
508
13
3
High
New Car
2641
0
13
71
Low
Small Appliance
0
11838
7
70
Low
New Car
682
2017
37
85
High
New Car
0
11587
22
46
Low
Furniture
0
8944
25
66
Low
Furniture
0
347
16
5
Low
New Car
11072
891
61
17
Low
New Car
0
127
7
13
Low
Furniture
0
367
37
22
Low
Other
0
523
37
0
Low
Small Appliance
0
337
25
107
Low
New Car
0
716
19
33
High
Furniture
0
987
37
101
High
Business
257
460
49
75
High
New Car
332
214
25
2
Low
Used Car
0
396
49
73
High
Furniture
642
0
13
65
High
Business
898
177
22
105
High
New Car
3880
0
23
37
Low
Furniture
0
815
19
13
High
Used Car
0
160
13
7
Low
Used Car
0
276
25
91
Low
Small Appliance
497
0
7
51
Low
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, ai-and-machine-learning and related others by exploring similar questions and additional content below.
Similar questions