Table of Contents

Struct DTrees.Node

Namespace
OpenCvSharp.ML
Assembly
OpenCvSharp.dll

The class represents a decision tree node.

[SuppressMessage("Microsoft.Design", "CA1815: Override equals and operator equals on value types")]
public struct DTrees.Node
Inherited Members

Fields

ClassIdx

Class index normalized to 0..class_count-1 range and assigned to the node. It is used internally in classification trees and tree ensembles.

DefaultDir

Default direction where to go (-1: left or +1: right). It helps in the case of missing values.

Left

Index of the left child node

Parent

Index of the parent node

Right

Index of right child node

Split

Index of the first split

Value

Value at the node: a class label in case of classification or estimated function value in case of regression.