CS231N Code and note about CS231n, a stanford course. examples knn = KNearestNeighbor() knn.train(X_train,y_train) knn.predict(X_test,k=1)