public interface IterativeClassifier
Modifier and Type | Method and Description |
---|---|
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.
|
void initClassifier(Instances instances) throws Exception
instances
- the instances to be used in inductionException
- if the model cannot be initializedvoid next(int iteration) throws Exception
iteration
- the index of the current iteration (0-based)Exception
- if this iteration failsvoid done() throws Exception
Exception
- if cleanup failsObject clone() throws CloneNotSupportedException
CloneNotSupportedException
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.