Learn R Programming

isotree (version 0.6.1-1)

length.isolation_forest: Get Number of Trees in Model

Description

Returns the number of trees in an isolation forest model.

Usage

# S3 method for isolation_forest
length(x)

Value

The number of trees in the model, as an integer.

Arguments

x

An isolation forest model, as returned by function isolation.forest.