Learn R Programming

isotree (version 0.6.1-1)

isotree.get.num.nodes: Get Number of Nodes per Tree

Description

Get Number of Nodes per Tree

Usage

isotree.get.num.nodes(model)

Value

A list with entries `"total"` and `"terminal"`, both of which are integer vectors with length equal to the number of trees. `"total"` contains the total number of nodes that each tree has, while `"terminal"` contains the number of terminal nodes per tree.

Arguments

model

An Isolation Forest model as produced by function `isolation.forest`.