Package | Description |
---|---|
pt.utl.ist.online.learning | |
pt.utl.ist.online.learning.engines | |
pt.utl.ist.online.learning.engines.info |
Constructor and Description |
---|
KernelBinaryOnlineAlgorithm(java.util.List<DataObject<E>> trainingData,
java.util.Map<java.lang.Integer,java.lang.Boolean> labels,
int currentEpoch,
int numEpochs,
OnlineEngine<E> engine,
boolean cacheMatrix,
java.util.List<EngineObserver<E>> observers,
java.lang.String classifier)
Calls the training for the OnlineEngine
|
KernelBinaryOnlineAlgorithm(java.util.List<DataObject<E>> trainingData,
java.util.Map<java.lang.Integer,java.lang.Boolean> labels,
int numEpochs,
OnlineEngine<E> engine,
boolean cacheMatrix,
java.util.List<EngineObserver<E>> observers,
java.lang.String classifier)
Calls the training for the OnlineEngine
|
Modifier and Type | Class and Description |
---|---|
class |
KernelPegasosEngine<E>
implements the Pegasos algorithm and maintains the SVM model produced by
the algorithm in such a way it is allowed to be re-trained
|
Modifier and Type | Method and Description |
---|---|
OnlineEngine<E1> |
KernelPegasosEngine.Conf.createEngine() |
OnlineEngine<E1> |
OnlineEngine.Conf.createEngine()
Creates an OnlineEngine based on the parameters provided when the
Conf object was created
|
Modifier and Type | Method and Description |
---|---|
void |
EnginePrinter.close(OnlineEngine<E> engine,
java.lang.String classifier) |
void |
EngineObserver.close(OnlineEngine<E> engine,
java.lang.String classifier)
Tells this OnlineObserver that the OnlineEngine identified by the
classifier string finished training
|
void |
EnginePrinter.notify(OnlineEngine<E> engine,
java.lang.String classifier,
int iteration,
int updates) |
void |
EngineObserver.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 |
EnginePrinter.notify(OnlineEngine<E> engine,
java.lang.String classifier,
int iteration,
int updates,
double objectiveValue) |
void |
EngineObserver.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
|