Click or drag to resize
Accord.NET (logo)

DecisionTreeGetHeight Method

Computes the height of the tree, defined as the greatest distance (in links) between the tree's root node and its leaves.

Namespace:  Accord.MachineLearning.DecisionTrees
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public int GetHeight()
Request Example View Source

Return Value

Type: Int32
The tree's height.
See Also