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

View source: R/isoforest.R

isotree.get.num.nodesR Documentation

Get Number of Nodes per Tree

Description

Get Number of Nodes per Tree

Usage

isotree.get.num.nodes(model)

Arguments

model

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

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.


isotree documentation built on Nov. 20, 2023, 1:06 a.m.