|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weka.classifiers.m5.SplitInfo
Stores split information.
Constructor Summary | |
SplitInfo(int low,
int high,
int attr)
Constructs an object which contains the split information |
Method Summary | |
void |
attrSplit(int attr,
Instances inst)
Finds the best splitting point for an attribute in the instances |
SplitInfo |
copy()
Makes a copy of this SplitInfo object |
void |
initialize(int low,
int high,
int attr)
Resets the object of split information |
String |
toString(Instances inst)
Converts the spliting information to string |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SplitInfo(int low, int high, int attr)
low
- the index of the first instancehigh
- the index of the last instanceattr
- an attributeMethod Detail |
public final SplitInfo copy()
public final void initialize(int low, int high, int attr)
low
- the index of the first instancehigh
- the index of the last instanceattr
- the attributepublic final String toString(Instances inst)
inst
- the instancespublic final void attrSplit(int attr, Instances inst) throws Exception
attr
- the splitting attributeinst
- the instances
Exception
- if something goes wrong
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |