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.void train(List<? extends T> data)
BatchTrainer
s should reset the underlying
model everytime this method is called.data
- the training data