fitPosterior warning: Why does fitPosterior output a warning when the transformation is a step function?

I'm training various SVM models and saving the output from MATLAB. The output has lots of these warning messages:
Warning: Classes are perfectly separated. The optimal score-to-posterior transformation is a step function.
Is this not a good thing? Why does MATLAB output a warning? Is there a time this should concern someone?
Thanks.

 Akzeptierte Antwort

I would say that a warning could be warranted because perfect separability could be an indication of over-fitting, and that the model may not generalize well to unseen data.

Weitere Antworten (0)

Kategorien

Produkte

Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by