public class NodeIndexUpdater
extends Object
implements scala.Product, scala.Serializable
| Constructor and Description |
|---|
NodeIndexUpdater(Split split,
int nodeIndex) |
| Modifier and Type | Method and Description |
|---|---|
int |
nodeIndex() |
Split |
split() |
int |
updateNodeIndex(int[] binnedFeatures,
Bin[][] bins)
Determine a child node index based on the feature value and the split.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic NodeIndexUpdater(Split split, int nodeIndex)
public Split split()
public int nodeIndex()
public int updateNodeIndex(int[] binnedFeatures,
Bin[][] bins)
binnedFeatures - Binned feature values.bins - Bin information to convert the bin indices to approximate feature values.