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.

 Accepted Answer

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

Products

Release

R2024a

Asked:

on 23 May 2024

Answered:

on 23 May 2024

Community Treasure Hunt

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

Start Hunting!