DTreesNode class
A node of a decision tree, see DTrees.nodes. https://docs.opencv.org/4.x/db/d6d/classcv_1_1ml_1_1DTrees_1_1Node.html
Constructors
Properties
- classIdx → int
-
Class index normalized to 0..class_count-1 range, assigned to the node (classification only).
final
- defaultDir → int
-
Default direction where to go (-1: left or +1: right) when a split value is missing.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- left → int
-
Index of the left child node, -1 for a leaf.
final
- parent → int
-
Index of the parent node, -1 for a root.
final
- right → int
-
Index of the right child node, -1 for a leaf.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- split → int
-
Index of the first split of the node in DTrees.splits, -1 for a leaf.
final
- value → double
-
Value at the node: a class label for classification or an estimated value for regression.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited