Body: <p>I want to give weights to some data points</p>
  <p>Specifically, these are points related to anomalies</p>
  <p>(I'm implementing one-class SVM for <em>anomaly detection</em>)</p>
  <p>Exactly, I want to consider some data points that are likely to be anomalies as more important data points</p>
  <p>Is it possible in one-class SVM ?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-08-02T10:16:39.543Z
Comments.Text: Hello, please keep all the necessary details in the question as it seems difficult to understand without related context.
Comments.UserDisplayName: hanugm
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-08-02T10:21:29.540Z
Comments.Text: @hanugm Hi, one-class SVM is known as a good anomaly detector (imbalanced binary classifier) However, I want to give weights to some data point in advance, so that the points can be anomalies in one-class SVM classifier
Comments.UserDisplayName: Dae-Young Park
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-08-02T16:44:42.443Z
Comments.Text: [This might help](https://github.com/yzhao062/pyod/blob/master/pyod/models/ocsvm.py)
Comments.UserDisplayName: Yahya
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-08-03T12:18:37.280Z
Comments.Text: @Yahya Thk you!
Comments.UserDisplayName: Dae-Young Park
Tags: <machine-learning><classification><support-vector-machine><binary-classification><anomaly-detection>
Title: How can I weight each point in one-class SVM?
UserDisplayName: Dae-Young Park
ThreadText: # How can I weight each point in one-class SVM?
  
  (Asked by: username_0 on 2021-08-02)
  
  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 ?
  
  **Tags:** machine-learning, classification, support-vector-machine, binary-classification, anomaly-detection
  
  > **Comments:**
  > **username_1**: Hello, please keep all the necessary details in the question as it seems difficult to understand without related context.  
  > **username_0**: @username_1 Hi, one-class SVM is known as a good anomaly detector (imbalanced binary classifier) However, I want to give weights to some data point in advance, so that the points can be anomalies in one-class SVM classifier  
  > **username_2**: [This might help](https://github.com/yzhao062/pyod/blob/master/pyod/models/ocsvm.py)  
  > **username_0**: @username_2 Thk you!  
  
  ---
  
  ## 0 answers
  
  