Skip to content

XueyinJessica/implement-the-isolation-forest-algorithm-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Isolation Forest Implementation - Anomaly Detection

This is a course project for MSDS689 Problem Solving with Python.

Implement the original Isolation Forest algorithm by Fei Tony Liu, Kai Ming Ting, and Zhi-Hua Zhou.

Data sets

You may want to test with:

Visualization of normal versus anomaly separation

Using plot_anomalies.py, you can see the results of the isolation forest trying to detect anomalies.

http.csv, 200 trees, 99% desired TPR

Algorithm

here are the algorithms extracted from the Liu et al paper:

average path length c(), not the one in the original paper:

scoring formula:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages