|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IterativeClassifier
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 |
|---|
void initClassifier(Instances instances)
throws Exception
instances - the instances to be used in induction
Exception - if the model cannot be initialized
void next(int iteration)
throws Exception
iteration - the index of the current iteration (0-based)
Exception - if this iteration fails
void done()
throws Exception
Exception - if cleanup fails
Object clone()
throws CloneNotSupportedException
CloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||