Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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|

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by