I need a python code which implements KNN from scratch (basic python imports allowed) such as from math import. Based on the data set attached the knn must be able to classify a new voter if he is going to pol conservative or liberal. SOmething like this but just for my data set.https://machinelearningmastery.com/tutorial-to-implement-k-nearest-neighbors-in-python-from-scratch/
Archive for the ‘Simple knn classifier for a uni project’ Category
Programming KNN
January 9th, 2020
I need a python code which implements KNN from scratch (basic python imports allowed) such as from math import. Based on the data set attached the knn must be able to classify a new voter if he is going to pol conservative or liberal. SOmething like this but just for my data set.https://machinelearningmastery.com/tutorial-to-implement-k-nearest-neighbors-in-python-from-scratch/