Message: "You cannot fit posterior probabilities when all scores are NaNs

1 次查看(过去 30 天)
Hi,
I have attached a code where I use several classifiers with several different parameters. When I try to run the code with a feature matrix as input, I get the following error:
Error using fitSVMPosterior (line 155)
You cannot fit posterior probabilities when all scores are NaNs.
Error in ClassificationSVM/fitPosterior (line 602)
[obj,trans] = fitSVMPosterior(obj,varargin{:});
Error in trainClassifier128ADASYN (line 154)
[~,scoresLinSVM128ADASYN] = resubPredict(fitPosterior(classificationLinearSVM128ADASYN));
I have never had issues when I ran the code previously and I have tried it a lot of times. I have only had this problem now.
Can anyone guess what the problem is?
Thanks!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 ROC - AUC 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by