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

4 views (last 30 days)
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.

Accepted Answer

the cyclist
the cyclist on 23 May 2024
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.

More Answers (0)

Categories

Find more on Signal Processing in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!