One Class SVM not working correctly

16 ビュー (過去 30 日間)
Andrea Lanza
Andrea Lanza 2023 年 11 月 25 日
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 Center および File ExchangeClassification Ensembles についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by