How to implement the Nearest Subspace algorithm
2 ビュー (過去 30 日間)
古いコメントを表示
Dear all, I am comparing the performance of different classifiers on the same train and test samples: the Nearest Neightbour (NN), Nearest Subspace (NS) and Support Vector Machine (SVM).
I implemented the NS simply # by projecting the test sample into the subpace # comparing the norms, and # assigning the test sample to the nearby subspace.
In pseudo-code:
winner_subspace=1;
proj_test=test'*subspace_1
for i=2: total_number_subspace
Calculate the subspace_i
proj_temp=test'*subspace_i
if norm(proj_temp)<norm(proj_test)
winner_subspace=i;
end
end
The obtained performance is too low ... where is the mistake? Thank you in advance, Idil
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Classification についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!