kNN Classification problem. The test result is always the first label of training sample.
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Hello everyone I've a training set of 17 observations. The dimensions of training and testing data are
- X= 17x7660 (features, each row is feats from each obs)
- Y= 17 x 1 (label for each row)and Test feat isZ=1x7660I'm using knnclassify and everytime i run different test samples, I always end up with same prediction result; which is the first column of training data (Y(1,:)) |...
- Im not sure if my training has an error..or where the problem is.. urgently waiting for help|
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!