Codes for kmeans and knn in python | Sololearn: Learn to code for FREE!
+ 1

Codes for kmeans and knn in python

i need the actual code to run these two algorithms in python

10th Mar 2018, 8:12 PM
mohammad hossein yavari
mohammad hossein yavari - avatar
1 Resposta
+ 4
CodePlayground has a Python result for kmeans: You can find KNN (k nearest neighbor) in the SimpleAI github repository (third link down) here: You'll want to drill down into the machine learning directory and open the classifiers source file. If you have a github account, you can fork this project and get your very own copy.
10th Mar 2018, 11:14 PM
Kirk Schafer
Kirk Schafer - avatar