T - Type of object being trained uponpublic interface BatchTrainer<T>
train(List)
method more than once will cause
the internal model to be re-initialised using the new
data. If you want to implement an object that
can be updated, implement the IncrementalTrainer
interface instead.| Modifier and Type | Method and Description |
|---|---|
void |
train(List<? extends T> data)
Train the object with the given data.
|
void train(List<? extends T> data)
BatchTrainers should reset the underlying
model everytime this method is called.data - the training data