Diabetes classification

I m getting 75 per accuracy how to use the most appropriate value of k
here is the code link

hey @shivani_jainEtW ,
75% is good score with KNN.

You need to try different values of k like 1,3,5,7,9… and
find the one that produces the best results.
Last time , i found that k = 13 was producing a good result.

I hope this helps you :slightly_smiling_face:.

but people got 100 per so is there any by which I can get that

Hey @shivani_jainEtW ,
actually the ones who have achieved score 100 are our mentors itself , as they submitted the actual predictions only .
And yeah you can increase your score to 90 + also , but with KNN you will be limited to max 80-81% not more than this.
You can try other algorithms , ensembling ,feature engineering etc. They can help you achieve better score.

I hope this helps. :slightly_smiling_face:

hey @shivani_jainEtW ,
i saw that you re raised this doubt .
Are you still confused or stucked at something ? Kindly let me know.

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.