Package weka.classifiers.trees.ht
Class Split
java.lang.Object
weka.classifiers.trees.ht.Split
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnivariateNominalMultiwaySplit,UnivariateNumericBinarySplit
Base class for different split types
- Version:
- $Revision: 10531 $
- Author:
- Richard Kirkby (rkirkby@cs.waikato.ac.nz), Mark Hall (mhall{[at]}pentaho{[dot]}com)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringbranchForInstance(Instance inst) Returns the name of the branch that the supplied instance would go downabstract StringconditionForBranch(String branch) Returns the condition for the supplied branch name
-
Constructor Details
-
Split
public Split()
-
-
Method Details
-
branchForInstance
Returns the name of the branch that the supplied instance would go down- Parameters:
inst- the instance to find the branch for- Returns:
- the name of the branch that the instance would go down
-
conditionForBranch
Returns the condition for the supplied branch name- Parameters:
branch- the name of the branch to get the condition for- Returns:
- the condition (test) that corresponds to the named branch
-
splitAttributes
-