How to set weights in fitcsvm?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello
I'm using the fitcsvm method from Matlab to train a SVM. The BoxConstraint parameter is the C (cost). Because I have high class imbalance (2 class classification problem), I would like to set different weights for each class.
How can this be done in fitcsvm?
In the LibSVM library there is an option to set different weights for each class...
댓글 수: 0
답변 (0개)
참고 항목
카테고리
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!