Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
h612
h612 2016 年 11 月 3 日
閉鎖済み: Walter Roberson 2017 年 1 月 3 日
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