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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file iso_forest-1.0.3.tar.gz.

File metadata

  • Download URL: iso_forest-1.0.3.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for iso_forest-1.0.3.tar.gz
Algorithm Hash digest
SHA256 0bfa7f8212d213b936118b70654bdcc7d12dfcc7aad665be4db4ef78bdd08e00
MD5 829ab0b544d25cfc1071e0b580bbe717
BLAKE2b-256 4169c2b0686cfadca0707a47e70ba6d1b1762b6ea39a40637f7ed1e6702b8b5e

See more details on using hashes here.

File details

Details for the file iso_forest-1.0.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for iso_forest-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f5f93560418c2aa35c205d081847d69fa9b34a89f4627fe9ddb173d0d88d8772
MD5 a3e5cb46028c63dcdf74e6cbefd3253a
BLAKE2b-256 2c495aa67d6f8b49d46f64a5f27adb8ff9b4d764a7e705564799660c86e98179

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