Use the k-NM algorithm to classify the new records in the Excel file Credit. Approval decisions classifica- tion data using only credit score and years of credit history for k = 1 to 5.
Data attached below
Credit Score Years of Credit History
1). 725 20
2). 573 9
3). 677 11
4). 625 15
5). 527 12
6). 795 22
7). 733 7
8). 527 5