Skip to main content

Isolation Forest for anomaly detection

Project description

# iso_forest

This is a simple package implementation for the isolation forest method described (among other places) in this [paper](icdm08b.pdf) for detecting anomalies and outliers from a data point distribution.

## Extended isolation forest

For an extended version of this algorithm that produces more precise scoring maps please visit this repository

[https://github.com/sahandha/eif](https://github.com/sahandha/eif)/

## Installation

pip install iso_forest

or directly from the Github repository

pip install git+https://github.com/mgckind/iso_forest.git

It supports python2 and python3

## Requirements

  • numpy

No extra requirements are needed for the algorithm.

In addition, it also contains means to draw the trees created using the [igraph](http://igraph.org/) library.

## Use Examples

See these 2 notebooks examples on how to use it

  • [basics](demo_iforest.ipynb)

  • [tree visualization and anomaly PDFs](demo_vis_pdf.ipynb)

## Releases

### v1.0.3

  • 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

iso_forest-1.0.3.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

iso_forest-1.0.3-py2.py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 2 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