Skip to main content

outlier_detection, detects outliers.

Project description

Outlier Data Detection Systems - ODDS

As used in paper "Simple Models are Effective in Anomaly Detection in Multi-variate Time Series"

Contains an OD object

Instantiate the object with the 'algo' argument

eg. od = OD('VAR') instantiates an outlier detection system using vector autoregression

get outlier scores using the 'get_os()' function

eg. outlier_scores = od.get_os(X)

Where X is a data matrix, n samples by p features. P must be 2 or greater to work on many of the systems, this returns a vector with n scores, one for each sample.

Higher numbers mean more outlying.

Valid strings for outlier algorithms:

  • 'VAR' vector autoregression
  • 'FRO' ordinary feature regression
  • 'FRL' LASSO feature regression
  • 'FRR' Ridge feature regression
  • 'GMM' Gaussian Mixture model
  • 'IF' isolation Forest
  • 'DBSCAN' Density Based Spatial clustering and noise
  • 'OCSVM' one class support vector machine
  • 'LSTM' long short term memory
  • 'GRU' gated recurrent unit
  • 'AE' autoencoder
  • 'VAE' variational autoencoder
  • 'OP' outlier pursuit
  • 'GOP' graph regularised outlier pursuit
  • 'RAND' random scoring (for baseline comparison)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odds-0.1.2.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

odds-0.1.2-py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page