###C++ implement of KNN and Python binding (a practice)
-
knn.h
,knn.cpp
-
utils.h
,utils.cpp
-
main.cpp
-
makefile
, compile and generatemain
-
knn.i
,use swig to wrap c++ for python. ( still some bug to fix) -
X.dat
,y.dat
,data file.
###TO DO
-
apply Eigen matrix instead of
vector<vector<> >
-
task parallelism (mainly the
predict
method). -
KDTree