public class UnivariateNominalMultiwaySplit extends Split implements Serializable
| Constructor and Description |
|---|
UnivariateNominalMultiwaySplit(String attName)
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 UnivariateNominalMultiwaySplit(String attName)
attName - the name of the attribute to split onpublic 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 © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.