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 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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
0 comentarios
Respuestas (1)
yaseen iqbal
el 3 de Mayo de 2017
try to convert numl into numl(:); will solve your problem
0 comentarios
Ver también
Categorías
Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!