public interface IterativeClassifier extends Classifier
| Modifier and Type | Method and Description |
|---|---|
void |
done()
Signal end of iterating, useful for any house-keeping/cleanup
|
void |
initializeClassifier(Instances instances)
Initializes an iterative classifier.
|
boolean |
next()
Performs one iteration.
|
buildClassifier, classifyInstance, distributionForInstance, getCapabilitiesvoid initializeClassifier(Instances instances) throws java.lang.Exception
instances - the instances to be used in inductionjava.lang.Exception - if the model cannot be initializedboolean next()
throws java.lang.Exception
java.lang.Exception - if this iteration fails for unexpected reasonsvoid done() throws java.lang.Exception
java.lang.Exception - if cleanup fails