I have implemented the same code as taught in the Implementation video.
Why is the Accuracy 71%?
hey @rustagi.abhin , can you please provide me link to your code ,so i can have look and understand if there is something that is decreasing your accuracy and hence provide you with some suggestions.
Happy Learning
.
hey @rustagi.abhin ,
Your work is great and don’t worry about the accuracy. With KNN , you can achieve a maximum accuracy of around 75-77 % with KNN.
For that you can try the following :
- Find the best value of K for which the model performs best .
- Standardizing or normalizing your dataset.
- Averaging 2 or 3 different models predictions to get the final prediction.
- Currently you are calculating Euclidean Distance or l2_norm , you can also try different methods like manhattan distance , minkowski distance , hamming distance etc.
If you want to achieve accuracy around 85-90% then you need to work on different other machine learning techniques like bagging , boosting ,voting ,etc… They will really help you to work a lot on it.
Thank You
Happy Learning. 