public class UnivariateNominalMultiwaySplit extends Split implements java.io.Serializable
| Constructor and Description |
|---|
UnivariateNominalMultiwaySplit(java.lang.String attName)
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 UnivariateNominalMultiwaySplit(java.lang.String attName)
attName - the name of the attribute to split onpublic 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