Is SVM sensitive to unbalanced observations? The observations in one class is 3-4 times of the observation in an other class in binary classification
조회 수: 3 (최근 30일)
이전 댓글 표시
My first question is sensitivity of SVM to unbalanced datapoints. How much SVM is sensitive to that?
And is there any functionality designed i the fitcsvm to account for the unbalance in the datapoints in binary classification? I know that oversampling the smaller class or undersampling the larger class can be a solution to deal with "unbalanced" observation but I am interested for other approaches.
I checke "prior" and found it's role is only to remove observations with zero prior probablity and apparently doesnot play role in the classification step.
댓글 수: 0
답변 (1개)
Prince Kumar
2021년 11월 22일
Hi Zeynab Mousavikhamene,
Yes, SVM is sensitive to imbalanced dataset and this gives suboptimal models.
You can use 'Cost' Name-Value pair and pass a cost matrix. fitcsvm uses the input cost matrix to adjust the prior class probabilities.
You can refer the following link for more information :
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Classification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!