Data Science Asked on August 17, 2021
I want to give weights to some data points
Specifically, these are points related to anomalies
(I’m implementing one-class SVM for anomaly detection)
Exactly, I want to consider some data points that are likely to be anomalies as more important data points
Is it possible in one-class SVM ?
If I understood correctly, you are tring to apply more weight in advance to certain points which you consider (based on domain knowledge?) that are likely to be anomalies, correct? Your one-class support vector machine is meant to give you that insight, instead of specifying it in advance, so you could check if those points are actually far from the "normality" decision surface found by the algorithm itself, to confirm that those are novelties, also quantitative via the decision_function method:
(source)
Here you can find a more detailed answer on how it works, in case you want to have a look.
Correct answer by German C M on August 17, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP