Learn R Programming

isotree (version 0.6.1-4)

Isolation-Based Outlier Detection

Description

Fast and multi-threaded implementation of isolation forest (Liu, Ting, Zhou (2008) ), extended isolation forest (Hariri, Kind, Brunner (2018) ), SCiForest (Liu, Ting, Zhou (2010) ), fair-cut forest (Cortes (2021) ), robust random-cut forest (Guha, Mishra, Roy, Schrijvers (2016) ), and customizable variations of them, for isolation-based outlier detection, clustered outlier detection, distance or similarity approximation (Cortes (2019) ), isolation kernel calculation (Ting, Zhu, Zhou (2018) ), and imputation of missing values (Cortes (2019) ), based on random or guided decision tree splitting, and providing different metrics for scoring anomalies based on isolation depth or density (Cortes (2021) ). 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.

Copy Link

Version

Install

install.packages('isotree')

Monthly Downloads

1,515

Version

0.6.1-4

License

BSD_2_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

David Cortes

Last Published

January 8th, 2025

Functions in isotree (0.6.1-4)

isotree.append.trees

Append isolation trees from one model into another
isotree.export.model

Export Isolation Forest model
isotree.build.indexer

Build Indexer for Faster Terminal Node Predictions and/or Distance Calculations
isotree.drop.indexer

Drop Indexer Sub-Object from Isolation Forest Model Object
isolation.forest

Create Isolation Forest Model
isotree.import.model

Load an Isolation Forest model exported from Python
isotree.add.tree

Add additional (single) tree to isolation forest model
isotree.drop.reference.points

Drop Reference Points from Isolation Forest Model Object
variable.names.isolation_forest

Get Variable Names for Isolation Forest Model
isotree.deep.copy

Deep-Copy an Isolation Forest Model Object
isotree.to.json

Generate JSON representations of model trees
isotree.is.same

Check if two Isolation Forest Models Share the Same C++ Object
isotree.drop.imputer

Drop Imputer Sub-Object from Isolation Forest Model Object
isotree.plot.tree

Plot Tree from Isolation Forest Model
isotree.to.sql

Generate SQL statements from Isolation Forest model
isotree.restore.handle

Unpack isolation forest model after de-serializing
isotree.subset.trees

Subset trees of a given model
isotree.get.num.nodes

Get Number of Nodes per Tree
isotree.to.graphviz

Generate GraphViz Dot Representation of Tree
print.isolation_forest

Print summary information from Isolation Forest model
length.isolation_forest

Get Number of Trees in Model
predict.isolation_forest

Predict method for Isolation Forest
isotree.set.nthreads

Set Number of Threads for Isolation Forest Model Object
isotree.set.reference.points

Set Reference Points to Calculate Distances or Kernels With
summary.isolation_forest

Print summary information from Isolation Forest model