One Class SVM not working

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!

回答 (1 件)

Angelo Yeo
Angelo Yeo 2023 年 11 月 30 日

1 投票

This looks like a bug in ocsvm. Can you please contact Technical Support?

カテゴリ

ヘルプ センター および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

製品

リリース

R2023a

タグ

質問済み:

2023 年 11 月 25 日

回答済み:

2023 年 11 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by