Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

kNN Classification problem. The test result is always the first label of training sample.

1 Ansicht (letzte 30 Tage)
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,:)) |...
  1. Im not sure if my training has an error..or where the problem is.. urgently waiting for help|

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by