Please check my code

Bhaiyya my code is giving some errors. I have tried to correct it but it is still giving errors.Can u please check it.
the codeis shared on drive with following link-
https://drive.google.com/file/d/1oMbMaOB9Bpb0I7lloBjEFO0M--vmTwD2/view?usp=sharing

hey @surbhi11 ,
I have requested access to view the code , kindly allow me to do so.

Thank You and Happy Learning :slightly_smiling_face:.

hey @surbhi11 ,
have a look at https://drive.google.com/file/d/1oMbMaOB9Bpb0I7lloBjEFO0M--vmTwD2/view?usp=sharing.

I have updated your code , there was some small mistakes being done by you , like reading training x data for ytrain , and some more.
So i just corrected them.

Sir I am new to machine learning I don’t have any frnds or elder to suggest I stucked at finding accuracy of knn .and I don’t know how other sharing 73% ,78% .please help …sir.:pensive:

hey @kvreddy4884,
just raise a new doubt and share your code you have done till now.
else to start i would recommend going with the lectures