commands
zeus.optimizer.batch_size.server.services.commands
Commands on how to use some methods from the ZeusService
.
GetRandomChoices
Bases: BaseModel
Parameters for getting a random choices.
Attributes:
Name | Type | Description |
---|---|---|
job_id |
str
|
Job Id |
choices |
list[int]
|
List of choices |
Source code in zeus/optimizer/batch_size/server/services/commands.py
8 9 10 11 12 13 14 15 16 17 |
|
GetNormal
Bases: BaseModel
Parameters for getting a random sample from normal distribution.
Attributes:
Name | Type | Description |
---|---|---|
job_id |
str
|
Job id |
loc |
float
|
Mean |
scale |
float
|
Stdev |
Source code in zeus/optimizer/batch_size/server/services/commands.py
20 21 22 23 24 25 26 27 28 29 30 31 |
|
UpdateArm
Bases: BaseModel
Parameters to update an arm.
Attributes:
Name | Type | Description |
---|---|---|
trial |
ReadTrial
|
Identifier of trial |
updated_arm |
GaussianTsArmState
|
Updated state of arm. |
Source code in zeus/optimizer/batch_size/server/services/commands.py
34 35 36 37 38 39 40 41 42 43 |
|