One Class SVM not working correctly

조회 수: 11 (최근 30일)
Andrea Lanza
Andrea Lanza 2023년 11월 25일
댓글: Lorenzo Zarantonello 2023년 12월 9일
Hi all, I have to train a one class SVM for anomaly detection. I have a dataset with two features. I trained the model on normal instances with ocsvm function. What I don't understand are the contour lines for the ocsvm scores... I do not expect those to be like that. In the figure are represented the normal instances in the space (feature1, feature2) and the contour lines corresponding to some values of ocsvm score. They are simply absurd, not like the example see on the matlab guide. I would expect ellipsoidal contour lines, not these! Any help? Thank you!
  댓글 수: 5
Lorenzo Zarantonello
Lorenzo Zarantonello 2023년 11월 29일
I'm having the same problem too
Andrea Lanza
Andrea Lanza 2023년 11월 29일
fitcsvm with one class option makes the contour lines normal, so I would say that there is definitely something wrong in the ocsvm function

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

채택된 답변

Angelo Yeo
Angelo Yeo 2023년 11월 30일
편집: Angelo Yeo 2023년 11월 30일
Thank you for reporting this. I can see that something is broken in ocsvm. Can you please contact Technical Support and report this issue?
  댓글 수: 4
Angelo Yeo
Angelo Yeo 2023년 12월 8일
@Lorenzo Zarantonello, please reach out to Technical Support if you need further explanation on the issue and workaround. I don't think I'm allowed to share it on public technical forums.
Lorenzo Zarantonello
Lorenzo Zarantonello 2023년 12월 9일
I will do so, thank you!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Classification Ensembles에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by