Prior probability for classifiers

Hello
In the fitcsvm method for training a SVM classifier one can set the prior for each class with the 'prior' flag. For most other classifiers this is also possible.
In the algorithm description I did not find any hint how this prior is incorporated in the training or the prediction. It is only described how the prior changes when e.g. a cost is incorporated etc.
How is the prior incorporated into training and prediction?

1 Comment

I was wondering if you could find any answer to your question?

Sign in to comment.

Answers (0)

Asked:

on 7 Jun 2016

Community Treasure Hunt

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

Start Hunting!