public interface SplitEvaluate
Modifier and Type | Method and Description |
---|---|
void |
attrSplit(int attr,
Instances inst)
Finds the best splitting point for an attribute in the instances
|
SplitEvaluate |
copy()
makes a copy of the SplitEvaluate object
|
double |
maxImpurity()
Returns the impurity of this split
|
int |
position()
Returns the position of the split in the sorted values.
|
int |
splitAttr()
Returns the attribute used in this split
|
double |
splitValue()
Returns the split value
|
SplitEvaluate copy() throws Exception
Exception
void attrSplit(int attr, Instances inst) throws Exception
attr
- the splitting attributeinst
- the instancesException
- if something goes wrongdouble maxImpurity()
int position()
int
valueint splitAttr()
double splitValue()
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.