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

조회 수: 2 (최근 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에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by