Isolation-Based Outlier Detection
Overview
Fast and multi-threaded implementation of isolation forest (Liu, Ting, Zhou (2008) doi:10.1109/ICDM.2008.17), extended isolation forest (Hariri, Kind, Brunner (2018) doi:10.48550/arXiv.1811.02141), SCiForest (Liu, Ting, Zhou (2010) doi:10.1007/978-3-642-15883-4_18), fair-cut forest (Cortes (2021) doi:10.48550/arXiv.2110.13402), robust random-cut forest (Guha, Mishra, Roy, Schrijvers (2016) http://proceedings.mlr.press/v48/guha16.html), and customizable variations of them, for isolation-based outlier detection, clustered outlier detection, distance or similarity approximation (Cortes (2019) doi:10.48550/arXiv.1910.12362), isolation kernel calculation (Ting, Zhu, Zhou (2018) doi:10.1145/3219819.3219990), and imputation of missing values (Cortes (2019) doi:10.48550/arXiv.1911.06646), based on random or guided decision tree splitting, and providing different metrics for scoring anomalies based on isolation depth or density (Cortes (2021) doi:10.48550/arXiv.2111.11639). Provides simple heuristics for fitting the model to categorical columns and handling missing data, and offers options for varying between random and guided splits, and for using different splitting criteria.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 25
- Examples that run
- 83%5 run in a plain check · 1 never run
- Exported functions with examples
- 26%
- Documented parameters
- 91%
- Return-value docs
- 100%
- Help pages citing references
- 4%
Downloads
Repository
- PRs merged (all time)
- 93%
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
2 development-tooling and community-health practices detected across 1 family in the upstream repository
Checks run against github.com/david-cortes/isotree on 2026-10-21.
Dependencies
Installing isotree adds 3 packages (3 with compiled code, 2.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, jsonlite 1.0 MB, RhpcBLASctl 41 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.6.1-5Latest
- RR 4.5.0 released · 2025-04-11
- 0.6.1-42025-01-08 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.6.1-12024-03-27 · diff ↗ ·
added 4 exports
isotree.is.same, isotree.plot.tree, isotree.to.graphviz, isotree.to.json - 0.5.24-32023-12-02 · diff ↗
- 0.5.24-22023-12-01 · diff ↗
- 0.5.24-12023-11-28 · diff ↗
- 0.5.242023-11-19 · diff ↗
- 0.5.222023-08-07 · diff ↗
- 0.5.202023-05-23 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.5.19-12023-03-16 · diff ↗
- 0.5.172022-09-07 · diff ↗
- 0.5.162022-08-06 · diff ↗
Show 21 earlier eventsHide 21 earlier events
- RR 4.2.0 released · 2022-04-22
- 0.5.152022-03-31 · diff ↗
- 0.5.142022-02-13 · diff ↗ ·
added 6 exports
isotree.build.indexer, isotree.drop.imputer, isotree.drop.indexer, isotree.drop.reference.points, isotree.set.nthreads, isotree.set.reference.points - 0.5.52022-01-11 · diff ↗
- 0.3.92021-10-23 · diff ↗
- 0.3.02021-08-22 · diff ↗ ·
removed 7 exports
unpack.isolation.forest, add.isolation.tree, get.num.nodes, append.trees, export.isotree.model, load.isotree.model, deepcopy.isotreeadded 8 exports
isotree.restore.handle, isotree.add.tree, isotree.get.num.nodes, isotree.append.trees, isotree.export.model, isotree.import.model, isotree.subset.trees, isotree.deep.copy - 0.2.102021-07-17 · diff ↗
- 0.2.82021-07-11 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.2.72021-03-01 · diff ↗
- 0.1.282021-01-13 · diff ↗ ·
added 4 exports
predict.isolation_forest, print.isolation_forest, summary.isolation_forest, deepcopy.isotree - 0.1.24
- 0.1.202020-10-14 · diff ↗
- 0.1.192020-10-11 · diff ↗
- 0.1.182020-07-29 · diff ↗
- 0.1.17
- 0.1.11
- RR 4.0.0 released · 2020-04-24
- 0.1.8
- 0.1.52019-12-18
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-12-18
- Total releases
- 29 / 7 yrs
- License
- BSD_2_clause + file LICENSE OSI
- Minimum R
- ≥ 4.3.0
- Download size
- 1.1 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("isotree")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.