Shows error in lung cancer detection using svm

'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
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.

Preguntada:

el 29 de Mzo. de 2024

Respondida:

el 30 de Mzo. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by