DTreesNode class

Constructors

DTreesNode({required double value, required int classIdx, required int parent, required int left, required int right, required int defaultDir, required int split})
const

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
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