Skip to main content

Extended Isolation Forest for anomaly detection

Project description

# Extended Isolation Forest

This is a simple package implementation for the Extended Isolation Forest method. It is an improvement on the original algorithm Isolation Forest which is described (among other places) in this [paper](icdm08b.pdf) for detecting anomalies and outliers from a data point distribution. The original code can be found at [https://github.com/mgckind/iso_forest](https://github.com/mgckind/iso_forest)

For an N dimensional data set, Extended Isolation Forest has N levels of extension, with 0 being identical to the case of standard Isolation Forest, and N-1 being the fully extended version.

## Installation

pip install eif

or directly from the repository

pip install git+https://github.com/sahandha/eif.git

## Requirements

  • numpy

No extra requirements are needed. In addition, it also contains means to draw the trees created using the [igraph](http://igraph.org/) library. See the example for tree visualizations

## Use

See these notebooks for examples on how to use it

  • [Basics](Notebooks/IsolationForest.ipynb)

  • [3D Example](Notebooks/general_3D_examples.ipynb)

  • [Tree visualizations](Notebooks/TreeVisualization.ipynb)

## Release

### v1.0.0 #### 2018-JUL-15 - Initial Release

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

eif-1.0.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

eif-1.0.0-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file eif-1.0.0.tar.gz.

File metadata

  • Download URL: eif-1.0.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for eif-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a4a3ca7a482088aec3f6c70c2f2f2bf02bb6d0e07378513c2d55351a1fdb12d1
MD5 8465267d78fa3668f945cb2b5a5b5545
BLAKE2b-256 e8ba7a497bc8262b3d1aa7ca098c1a27a213f06022108d526070e5aa757dd233

See more details on using hashes here.

File details

Details for the file eif-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for eif-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d6c391ba3743a068a7afc1149fa94ce83407c073ff29e34ab9dac192c193a2d8
MD5 909bea26c73369ae0fdaeaf2231d4e4d
BLAKE2b-256 fe939dd7d6c2fa18e96c83d4a31be5fb803bb79388e0cf7a5dc4e31b59be80d4

See more details on using hashes here.

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