|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for classifiers that can induce models of growing complexity one step at a time.
Method Summary | |
Object |
clone()
Performs a deep copy of the classifier, and a reference copy of the training instances (or a deep copy if required). |
void |
done()
Signal end of iterating, useful for any house-keeping/cleanup |
void |
initClassifier(Instances instances)
Inits an iterative classifier. |
void |
next(int iteration)
Performs one iteration. |
Method Detail |
public void initClassifier(Instances instances) throws Exception
instances
- the instances to be used in induction
Exception
- if the model cannot be initializedpublic void next(int iteration) throws Exception
iteration
- the index of the current iteration (0-based)
Exception
- if this iteration failspublic void done() throws Exception
Exception
- if cleanup failspublic Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |