length.isolation_forest: Get Number of Trees in Model

View source: R/isoforest.R

length.isolation_forestR 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.


isotree documentation built on May 29, 2024, 11:24 a.m.