Ask Your Question

Revision history [back]

KNN Classifier Problem

I trained KNN classifier. This is the last part of the train CvKNearest knn(featuremat,labelmat,Mat(),false,K); Now i want to find the reult by this...knn.find_nearest(testdata, k, &result); where result is the required labels or class results. Can plz some1 tell me how i will print this &result