ModelTrainer
Table of Contents
Methods
- cancelTraining() : mixed
- getLockName() : mixed
- run() : string
- Executes next part of the training request.
- scheduleTraining() : Result
- Schedules training for the model.
Methods
cancelTraining()
public
static cancelTraining(mixed $id) : mixed
Parameters
- $id : mixed
getLockName()
public
static getLockName() : mixed
run()
Executes next part of the training request.
public
static run(int $trainingId) : string
Parameters
- $trainingId : int
-
Id of the training request.
Return values
stringscheduleTraining()
Schedules training for the model.
public
static scheduleTraining(Base $model) : Result
Parameters
- $model : Base
-
Model to train.