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 java.lang.Exception
java.lang.Exceptionvoid attrSplit(int attr,
Instances inst)
throws java.lang.Exception
attr - the splitting attributeinst - the instancesjava.lang.Exception - if something goes wrongdouble maxImpurity()
int position()
int valueint splitAttr()
double splitValue()