i'm working on an I.A project , i'm using SVM for training and when i run the code i get this error ?

1 次查看(过去 30 天)
Error: label vector and instance matrix must be double Error: label vector and instance matrix must be double Attempted to access precision(1); index out of bounds because numel(precision)=0.
Error in apprentissage_SVM (line 25) RR=precision(1); % recognition rate

回答(1 个)

yaseen iqbal
yaseen iqbal 2017-5-3
try to convert numl into numl(:); will solve your problem

类别

Help CenterFile Exchange 中查找有关 Pattern Recognition and Classification 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by