public interface Split
extends scala.Serializable
| Modifier and Type | Method and Description |
|---|---|
int |
featureIndex()
Index of feature which this split tests
|
boolean |
shouldGoLeft(int binnedFeature,
Split[] splits)
Return true (split to left) or false (split to right).
|
boolean |
shouldGoLeft(Vector features)
Return true (split to left) or false (split to right).
|
Split |
toOld()
Convert to old Split format
|
int featureIndex()
boolean shouldGoLeft(Vector features)
features - Vector of features (original values, not binned).boolean shouldGoLeft(int binnedFeature,
Split[] splits)
binnedFeature - Binned feature value.splits - All splits for the given feature.Split toOld()