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