Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Uerm
Uerm le 13 Fév 2020
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!

Réponses (0)

Catégories

En savoir plus sur ROC - AUC dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by