length.isolation_forest {isotree}R Documentation

Get Number of Trees in Model

Description

Returns the number of trees in an isolation forest model.

Usage

## S3 method for class 'isolation_forest'
length(x)

Arguments

x

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

Value

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


[Package isotree version 0.6.1-1 Index]