One Class SVM not working

Andrea Lanza on 25 Nov 2023
Latest activity Reply by Anusha Sridharan on 27 Nov 2023

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!
Anusha Sridharan
Anusha Sridharan on 27 Nov 2023
Hi @Andrea Lanza, we have moved your question to MATLAB Answers, where a wider support audience is available to help you:

Tags

No tags entered yet.