Skip to main content

V2TrainingRequest

Body for POST /v2/training.

company_iduuidrequired

Company to train a policy for.

business_date object

Defaults to today.

anyOf
date
horizon_daysHorizon Days

Possible values: >= 1 and <= 365

Default value: 90
epochsEpochs

Possible values: >= 1 and <= 200

Default value: 12
clip_epsilonClip Epsilon

Possible values: > 0 and <= 1

Default value: 0.2
learning_rateLearning Rate

Possible values: > 0 and <= 1

Default value: 0.05
auto_approveAuto Approve

When true, the freshly-trained model is also promoted to the approved slot in one call. When false, run POST /v2/model/approve (or set this flag on the next training call) to start using it for inference.

Default value: false
V2TrainingRequest
{
"company_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"business_date": "2024-07-29",
"horizon_days": 90,
"epochs": 12,
"clip_epsilon": 0.2,
"learning_rate": 0.05,
"auto_approve": false
}