what would be cause for below error

5 visualizaciones (últimos 30 días)
SANJU Gowda
SANJU Gowda el 27 de Abr. de 2016
Respondida: Walter Roberson el 27 de Abr. de 2016
Undefined function 'trainlssvm' for input arguments of type 'cell'.
Error in sv (line 46)
[alpha(:,i),b(i,1)]=trainlssvm({xt(:,:,i),yt,type,gam,sig2,'RBF_kernel','original'});

Respuesta aceptada

Andreas Goser
Andreas Goser el 27 de Abr. de 2016
Looks like on of the input arguments has an unexpected data format. I suggested trying a code from the doc. Like a demo. If it runs, check the data format of all parameters step-by-step. If the demo does not run, there might be something wrong with your installation. It could be you have multiple 'trainlssvm' on the path. Try
which trainlssvm -all
  1 comentario
Andreas Goser
Andreas Goser el 27 de Abr. de 2016
Addendum: 'trainlssvm' appears to be not a MathWorks function. So you need to debug that function to understand.

Iniciar sesión para comentar.

Más respuestas (1)

Walter Roberson
Walter Roberson el 27 de Abr. de 2016

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by