A convenient way to call Trainer.
A convenient way to call Trainer.train() for batch training.
The parameters to be optimized
The examples
The evaluation function
Whether to use a parallel trainer
The maximum number of iterations
The optimizer
A convenient way to call Trainer.
A convenient way to call Trainer.train() for online trainers.
The parameters to be optimized
The examples
The evaluation function
Whether to train in parallel
The maximum number of iterations
The optimizer
How often to log
Convenient function for training.
Convenient function for training. Creates a trainer, trains until convergence, and evaluates after every iteration.
The parameters to be optimized
The examples to train on
The maximum number of iterations for training
The function for evaluation
The optimizer
Whether to use parallel training
Whether to use online training
How often to log, if using online training