One Class SVM not working correctly
Mostra commenti meno recenti
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 Commenti
Andrea Lanza
il 27 Nov 2023
the cyclist
il 27 Nov 2023
Can you upload the data and code you used to generate the figure? You can use the paper clip icon in the INSERT section of the toolbar.
If you cannot load all the data, perhaps a subset that shows the same behavior?
Andrea Lanza
il 27 Nov 2023
Lorenzo Zarantonello
il 29 Nov 2023
I'm having the same problem too
Andrea Lanza
il 29 Nov 2023
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Classification Ensembles in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!