Shows error in lung cancer detection using svm

2 ビュー (過去 30 日間)
Renu Bharathi G
Renu Bharathi G 2024 年 3 月 29 日
回答済み: Voss 2024 年 3 月 30 日
'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

回答 (1 件)

Voss
Voss 2024 年 3 月 30 日
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?

カテゴリ

Help Center および File ExchangeBiotech and Pharmaceutical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by