public class UnivariateNumericBinarySplit extends Split implements java.io.Serializable
| Constructor and Description |
|---|
UnivariateNumericBinarySplit(java.lang.String attName,
double splitPoint)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
branchForInstance(Instance inst)
Returns the name of the branch that the supplied instance would go down
|
java.lang.String |
conditionForBranch(java.lang.String branch)
Returns the condition for the supplied branch name
|
splitAttributespublic UnivariateNumericBinarySplit(java.lang.String attName,
double splitPoint)
attName - the name of the attribute to split onsplitPoint - the split pointpublic java.lang.String branchForInstance(Instance inst)
SplitbranchForInstance in class Splitinst - the instance to find the branch forpublic java.lang.String conditionForBranch(java.lang.String branch)
SplitconditionForBranch in class Splitbranch - the name of the branch to get the condition for