Shows error in lung cancer detection using svm
Mostrar comentarios más antiguos
'svmtrain' has been removed. With appropriate code changes, use 'fitcsvm' instead.
Error in new (line 87)
svmStruct = svmtrain(xdata, group, 'KernelFunction', 'rbf', 'KernelScale', 3, 'ShowPlot', true);
Caused by:
Unrecognized function or variable 'svmtrain'.
I also used fitcsvm instead ...again it shows error
Respuestas (1)
Voss
el 30 de Mzo. de 2024
0 votos
Notice how the error message says "With appropriate code changes". Did you read and follow the documentation for fitcsvm, to adapt your code for working with fitcsvm?
Categorías
Más información sobre Biotech and Pharmaceutical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!