Skip to main content

Extended Isolation Forest for anomaly detection

Project description

<a href=”https://github.com/sahandha/eif/releases/tag/v1.0.2”> <img src=”https://img.shields.io/badge/release-v1.0.2-blue.svg” alt=”latest release” /></a><a href=”https://pypi.org/project/eif/1.0.2/”><img src=”https://img.shields.io/badge/pypi-v1.0.2-orange.svg” alt=”pypi version”/></a> # 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.2 #### 2018-OCT-01 - Added documentation, examples and software paper

### v1.0.1 #### 2018-AUG-08 - Bugfix for multidimensional data

### 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.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

eif-1.0.2-py2.py3-none-any.whl (6.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: eif-1.0.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for eif-1.0.2.tar.gz
Algorithm Hash digest
SHA256 669070ebeabf9b862ce0ed8ebddb98f0ac5ba3d1b937c5c29a5330eae6089ab6
MD5 c43fac8ef716762f6ea1af01de6633b4
BLAKE2b-256 9d07063f12e3da4d7a68e3d4919e06ac7b40e6e973d1b553e13e7d7f548ded69

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eif-1.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for eif-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3c89c6675a55ddb8d095960ae514185015d2a571a660c47ea30766f0b617c91e
MD5 fe0fff0eb1762be2eec8f5cdb4912b1e
BLAKE2b-256 c04e355ba691b9c12daa29c7be8cebdd606f26b2c003c8720bf62111e8658c59

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