Cross-validated model parameters extraction in fitcecoc SVM linear kernel
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
I am trying to extract the parameters from the cross-validated model of fitcecoc SVM with linear kernel. I want to extract the parameters which I could use for training and testing. I tried to look into the model but I could not find the bias/beta etc.
mdl = fitcecoc(Xs,Y,'Coding','onevsall','Learners',t);
CVMDL = crossval(mdl, 'kfold',5);
Error = kfoldLoss(CVMDL)
0 件のコメント
回答 (1 件)
Sulaymon Eshkabilov
2021 年 10 月 30 日
You should use these fcns instead of crossval:
kfoldPredict(), predict(), resubPredict()
参考
カテゴリ
Help Center および File Exchange で Classification Learner App についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!