E
- class of the data instances used by the OnlineEngine that will call
the methods of the EngineObserver objectpublic interface EngineObserver<E>
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
close(OnlineEngine<E> engine,
java.lang.String classifier)
Tells this OnlineObserver that the OnlineEngine identified by the
classifier string finished training
|
void |
notify(OnlineEngine<E> engine,
java.lang.String classifier,
int iteration,
int updates)
Passes information to this EngineObserver, this information is the
OnlineEngine object, a classifier name, the iteration number when
it was called and how many updates the data instances generated
|
void |
notify(OnlineEngine<E> engine,
java.lang.String classifier,
int iteration,
int updates,
double objectiveValue)
Passes information to this EngineObserver, this information is the
OnlineEngine object, a classifier name, the iteration number when
it was called and how many updates the data instances generated
|
void notify(OnlineEngine<E> engine, java.lang.String classifier, int iteration, int updates, double objectiveValue)
engine
- the OnlineEngine being trainedclassifier
- a string containing the classifier name, used to d
distinguish binary classifiers at multi-class methodsiteration
- the number of iterations in the reported stageupdates
- the number of updates that the data instances provoked in this stepobjectiveValue
- the objective function value at this stagevoid notify(OnlineEngine<E> engine, java.lang.String classifier, int iteration, int updates)
engine
- the OnlineEngine being trainedclassifier
- a string containing the classifier name, used to d
distinguish binary classifiers at multi-class methodsiteration
- the number of iterations in the reported stageupdates
- the number of updates that the data instances provoked in this stepvoid close(OnlineEngine<E> engine, java.lang.String classifier)
engine
- the OnlineEngine that finished trainingclassifier
- string containing the classifier name