Skip to content

isotree

0.6.1-5

Isolation-Based Outlier Detection

9packages depend
25.4Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by David CortesFirst published 2019-12-1829 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 4.2 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
4
Dependencies · direct
Check history
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
83%
Documented parameters
91%
Return-value docs
100%
References docs
4%

Downloads

25.4K
CRAN downloads in the past year
Rank #2,607 · ~70/day · ~2.1K/mo
Daily download trend is not available in this view yet.
2.1K30 days
8.2K90 days
25.4K1 year
Compare downloads with other packages →
Also on551 r2u25 autocran4.1K conda_forge55 c2d4u

Repository

Repository
230Stars
40Forks
1Open issues
0Open PRs
0Releases
582Commits
8Contributors
isolation-forestoutlier-detectionanomaly-detectionimputation
License BSD-2-Clause · 582 commits · Last activity 2026-06-21 · +0.4% stars, 30d

Stars over time

2025-07-07 · 2152026-07-07 · 229

Repository practices

Upstream repositoryBeta

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-07-19.

Git structural (2)
.gitattributesSubmodules
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.3.0
Imports (4)
LinkingTo (1)
Enhances (0)
none

Code & Tests

Code Composition
C 29,623 (61%)C++ 11,217 (23%)R 4,520 (9%)Rd 2,501 (5%)Vignettes 592 (1%)
Code characteristics
Object systems
S36
Cyclomatic complexity
1.0 median / 115 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

688 23 exported

Complexity

5.7 avg / 115 max

Call network

688 nodes / 644 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (8)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (8)
Author, Maintainer, Copyright holder
Copyright holder · added in 0.3.0
Copyright holder · added in 0.5.14
Copyright holder · added in 0.5.19-1
Copyright holder · added in 0.3.0
Copyright holder · added in 0.5.19-1
Copyright holder · added in 0.5.19-1
Copyright holder · added in 0.3.0
Package Timeline

29 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.6.1-5Latest
    2026-03-05 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.6.1-4
    2025-01-08 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.6.1-1
    2024-03-27 · diff ↗
  • 0.5.24-3
    2023-12-02 · diff ↗
  • 0.5.24-2
    2023-12-01 · diff ↗
  • 0.5.24-1
    2023-11-28 · diff ↗
  • 0.5.24
    2023-11-19 · diff ↗
  • 0.5.22
    2023-08-07 · diff ↗
  • 0.5.20
    2023-05-23 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.5.19-1
    2023-03-16 · diff ↗
  • 0.5.17
    2022-09-07 · diff ↗
  • 0.5.16
    2022-08-06 · diff ↗
Show 21 earlier events
  • R
    R 4.2.0 released · 2022-04-22
  • 0.5.15
    2022-03-31 · diff ↗
  • 0.5.14
    2022-02-13 · diff ↗
  • 0.5.5
    2022-01-11 · diff ↗
  • 0.3.9
    2021-10-23 · diff ↗
  • 0.3.0
    2021-08-22 · diff ↗
  • 0.2.10
    2021-07-17 · diff ↗
  • 0.2.8
    2021-07-11 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.7
    2021-03-01 · diff ↗
  • 0.1.28
    2021-01-13 · diff ↗
  • 0.1.24
    2020-12-10 · diff ↗
  • 0.1.20
    2020-10-14 · diff ↗
  • 0.1.19
    2020-10-11 · diff ↗
  • 0.1.18
    2020-07-29 · diff ↗
  • 0.1.17
    2020-07-20 · diff ↗
  • 0.1.11
    2020-04-27 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.8
    2020-01-08 · diff ↗
  • 0.1.5
    2019-12-18
  • R
    R 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
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →