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
|
splitAttributes
public UnivariateNominalMultiwaySplit(java.lang.String attName)
attName
- the name of the attribute to split onpublic java.lang.String branchForInstance(Instance inst)
Split
branchForInstance
in class Split
inst
- the instance to find the branch forpublic java.lang.String conditionForBranch(java.lang.String branch)
Split
conditionForBranch
in class Split
branch
- the name of the branch to get the condition for