|
|||||||||
| 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 | |
java.lang.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 java.lang.Exception
instances - the instances to be used in induction
java.lang.Exception - if the model cannot be initialized
public void next(int iteration)
throws java.lang.Exception
iteration - the index of the current iteration (0-based)
java.lang.Exception - if this iteration fails
public void done()
throws java.lang.Exception
java.lang.Exception - if cleanup fails
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
|
|||||||||
| 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