Can we use KNN for classification of an object from a data set that is made up of more than 2 distinct objects

Can we use KNN for classification of an object from a data set that is made up of more than 2 distinct objects as in if we have to predict what a fruit is using a data set made up of apples, mangoes and grapes?

Hi @Anuvrat99
We can use KNN for classification of an object from a data set that is made up of more than 2 distinct objects.

Hope this might helps :slightly_smiling_face:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.