public interface IterativeClassifier extends Classifier
| Modifier and Type | Method and Description |
|---|---|
void |
done()
Signal end of iterating, for either the time being or permanently if
setFinalized(true) has been called.
|
boolean |
getResume()
Returns true if the classifier will be able to be trained further (with
more iterations) at a later date.
|
void |
initializeClassifier(Instances instances)
Initializes an iterative classifier.
|
boolean |
next()
Performs one iteration.
|
void |
setResume(boolean resume)
If called with argument true then the classifier will be able to be trained
further (with more iterations) at a later date.
|
buildClassifier, classifyInstance, distributionForInstance, getCapabilitiesvoid initializeClassifier(Instances instances) throws Exception
instances - the instances to be used in inductionException - if the model cannot be initializedvoid setResume(boolean resume)
throws Exception
resume - true to enable training to continue at a later point after
the initial model is built.Exception - if finalization cannot be setboolean getResume()
Exception - if finalization cannot be setboolean next()
throws Exception
Exception - if this iteration fails for unexpected reasonsCopyright © 2020 University of Waikato, Hamilton, NZ. All rights reserved.