Professional Documents
Culture Documents
Madhav Institute of Technology & Science,: Gwalior
Madhav Institute of Technology & Science,: Gwalior
Build a nearest neighbours classifier that will predict which language a word
belongs to.
Represent each word using the following features.
F1-Length of the word
F2-Number of consonants in the word
F3-Whether it ends with the letter 'o' (1 if it does, 0 if it doesnt)
Also predict the language for the word 'keto' using KNN classifier with k=1.
(5)