Does setting "prior" in the classification play a role in the classification algorithm or it just modifies observations in the prior classification step?

조회 수: 2 (최근 30일)
Based on the explanation in the "Algorithm" section here:
It seems that prior probablities are only used to remove datapoints that have zero prior probablity from training data and NOT playing role in the "classification process". Am I right? What does prior probablity is intended to do?

답변 (1개)

Jalaj Gambhir
Jalaj Gambhir 2020년 5월 22일
Prior Probabilities do affect the classification process. The step mentioned in the algorithm section only removes the training data corresponding to the classes for which the user has provided the prior probabilities as 0.
Prior probabilities are used to normalize the observation weights as stated in the next step here. I also recommend you to go through the references mentioned in the same link for detailed analysis on how SVM works.
Hope this helps!
  댓글 수: 2
Zeynab Mousavikhamene
Zeynab Mousavikhamene 2020년 5월 25일
Thanks for the responce. I assume if "prior probablity" affect the classification process, it should have mentioned somewhere in matlab when describing SVM like here. Well there are 6 refences some of them are books and I am not sure which part of these refences matlab used for "prior probablity" so it is very unclear where should I look for the answer to my question.

댓글을 달려면 로그인하십시오.


Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by