| weka.classifiers.trees.m5.SplitEvaluate
All known Subclasses: weka.classifiers.trees.m5.CorrelationSplitInfo, weka.classifiers.trees.m5.YongSplitInfo,
SplitEvaluate | public interface SplitEvaluate (Code) | | Interface for objects that determine a split point on an attribute
author: Mark Hall (mhall@cs.waikato.ac.nz) version: $Revision: 1.2 $ |
attrSplit | void attrSplit(int attr, Instances inst) throws Exception(Code) | | Finds the best splitting point for an attribute in the instances
Parameters: attr - the splitting attribute Parameters: inst - the instances exception: Exception - if something goes wrong |
maxImpurity | double maxImpurity()(Code) | | Returns the impurity of this split
the impurity of this split |
position | int position()(Code) | | Returns the position of the split in the sorted values. -1 indicates that
a split could not be found.
an int value |
splitAttr | int splitAttr()(Code) | | Returns the attribute used in this split
the attribute used in this split |
splitValue | double splitValue()(Code) | | Returns the split value
the split value |
|
|