How colud I solve this problem Undefined function 'fitPosterior' for input arguments of type 'classreg.learning.partition.ClassificationPartitionedModel'.
1 次查看(过去 30 天)
显示 更早的评论
t1=cellstr(num2str(t));
md1SVM = fitcsvm(sFeat,t1,'Standardize',true,'Kfold',10,'KernelFunction','gaussian');
% md1SVM = crossval(md1SVM);
Md1 = fitPosterior(md1SVM);
[~,score_svm] = resubPredict(Md1);
[Xsvm,Ysvm,Tsvm,AUCsvm] = perfcurve(trainlabel,score_svm(:,Md1.ClassNames),'true');
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Clutter 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!