A |
B |
C |
D |
Output |
Some |
High |
False |
French |
Yes |
Full |
Low |
False |
Thai |
No |
Some |
Low |
False |
Burger |
Yes |
Full |
Low |
False |
Thai |
Yes |
Full |
High |
False |
French |
No |
Some |
Normal |
True |
Italian |
Yes |
None |
Low |
True |
Burger |
No |
Some |
Normal |
True |
Thai |
Yes |
Full |
Low |
True |
Burger |
No |
Full |
High |
False |
Italian |
No |
None |
Low |
False |
Thai |
Yes |
Full |
Low |
False |
Burger |
Yes |
- Let the testing instance be (A = Full, B = Normal, C=False, D=Thai). Using K as values ranging from 1 to 10, identify the output.
- Implement KNN classifier for the dataset by varying K from 1 to 10. (Use training dataset as testing dataset). Draw graphs representing accuracy with value of K for the testing dataset. Identify the minimum value of ‘K’ that is optimum.