Does setting "prior" in the classification play a role in the classification algorithm or it just modifies observations in the prior classification step?
1 回表示 (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/294684/image.jpeg)
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?
0 件のコメント
回答 (1 件)
Jalaj Gambhir
2020 年 5 月 22 日
No,
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!
参考
カテゴリ
Help Center および File Exchange で Statistics and Machine Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!