One Class SVM

One Class SVM

One-Class SVM Transformation   

Description

  • One-Class Support Vector Machine (One Class SVM) is an unsupervised variation of SVM used for anomaly detection.
  • One-Class SVM is an unsupervised algorithm for outlier detection. It detects whether a new data is similar to or different from the data on which it is trained.

Why to use

To identify whether a data point is an inlier (belonging to the distribution) or an outlier (not belonging to the distribution)

When to use

When the independent variable is numerical when

When not to use 

In the case of non-continuous, categorical, or textual variables

Prerequisites

  • The independent variable should contain any integer or float numerical value. It should not possess any infinite or missing value.
  • You can apply One-Class SVM to a dataset with or without applying the Train-Test Split 

Input

Non-clustered data

Output

Clustered data

Statistical Methods Used

  • Accuracy
  • F-score
  • Sensitivity
  • Specificity
  • Confusion Matrix

Limitations

  • It is a part of novelty detection (and not outlier detection)
  • It performs better for small samples but underperforms for large samples
    • Related Articles

    • One-Way ANOVA

      One-Way ANOVA Description It compares the mean values of three or more independent groups in order to determine the statistical evidence that the associated population means are significantly different. Why to use To perform analysis of variance. ...
    • One Sample T Test

      One Sample T Test Description A one-sample t-test is a statistical test for determining if the mean of a single sample varies significantly from a hypothesized population mean. Why to use To determine if there is statistical difference between sample ...
    • One Sample Z Test

      One Sample Z Test Description One-sample z-test is a statistical test used to determine if the mean of a single sample is significantly different, from a hypothesized population mean, when the population standard deviation is known. Why to use ...
    • One Sample Proportion Test

      One Sample Proportion Test Description A one-sample proportion test is a statistical test used to determine if a single proportion (or percentage) of a population is statistically different from a hypothesized value. Why to use To determine if a ...
    • One Sample Wilcoxon Signed Rank Test

      Description One Sample Wilcoxon Signed Rank Test is a non-parametric version of a one-sample t-test. It is used to determine if the median of the sample value is equal to the known standard or theoretical value. Why to use To determine if a single ...