Prior probability for classifiers

4 views (last 30 days)
Sepp
Sepp on 7 Jun 2016
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
Zeynab Mousavikhamene
Zeynab Mousavikhamene on 19 May 2020
I was wondering if you could find any answer to your question?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!