|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for objects that determine a split point on an attribute
Method Summary | |
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 |
Method Detail |
public SplitEvaluate copy() throws java.lang.Exception
java.lang.Exception
public void attrSplit(int attr, Instances inst) throws java.lang.Exception
attr
- the splitting attributeinst
- the instances
java.lang.Exception
- if something goes wrongpublic double maxImpurity()
public int position()
int
valuepublic int splitAttr()
public double splitValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London