Cross-validated model parameters extraction in fitcecoc SVM linear kernel
Ältere Kommentare anzeigen
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)
Antworten (1)
Sulaymon Eshkabilov
am 30 Okt. 2021
0 Stimmen
You should use these fcns instead of crossval:
kfoldPredict(), predict(), resubPredict()
1 Kommentar
AMIR KHAN
am 30 Okt. 2021
Kategorien
Mehr zu Gaussian Process Regression finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!