change to kdTreeClassifier