LookoutEquipment / Client / update_retraining_scheduler
update_retraining_scheduler#
- LookoutEquipment.Client.update_retraining_scheduler(**kwargs)#
Updates a retraining scheduler.
See also: AWS API Documentation
Request Syntax
response = client.update_retraining_scheduler( ModelName='string', RetrainingStartDate=datetime(2015, 1, 1), RetrainingFrequency='string', LookbackWindow='string', PromoteMode='MANAGED'|'MANUAL' )
- Parameters:
ModelName (string) –
[REQUIRED]
The name of the model whose retraining scheduler you want to update.
RetrainingStartDate (datetime) – The start date for the retraining scheduler. Lookout for Equipment truncates the time you provide to the nearest UTC day.
RetrainingFrequency (string) –
This parameter uses the ISO 8601 standard to set the frequency at which you want retraining to occur in terms of Years, Months, and/or Days (note: other parameters like Time are not currently supported). The minimum value is 30 days (P30D) and the maximum value is 1 year (P1Y). For example, the following values are valid:
P3M15D – Every 3 months and 15 days
P2M – Every 2 months
P150D – Every 150 days
LookbackWindow (string) – The number of past days of data that will be used for retraining.
PromoteMode (string) – Indicates how the service will use new models. In
MANAGED
mode, new models will automatically be used for inference if they have better performance than the current model. InMANUAL
mode, the new models will not be used until they are manually activated.
- Returns:
None
Exceptions
LookoutEquipment.Client.exceptions.ValidationException
LookoutEquipment.Client.exceptions.ResourceNotFoundException
LookoutEquipment.Client.exceptions.ConflictException
LookoutEquipment.Client.exceptions.ThrottlingException
LookoutEquipment.Client.exceptions.AccessDeniedException
LookoutEquipment.Client.exceptions.InternalServerException