utils¶
Functions
|
Compute hash of given |
|
Retry function call with jitter. |
|
Suggest parameters for a trial. |
- retry(func: Callable[[...], Any], max_retries: int = 5, sleep_time: int = 10, jitter: int = 10) Any [source]¶
Retry function call with jitter.
- Parameters
func (Callable[[...], Any]) –
max_retries (int) –
sleep_time (int) –
jitter (int) –
- Return type
Any
- suggest_parameters(trial: optuna.trial._trial.Trial, params_to_tune: Dict[str, etna.distributions.distributions.BaseDistribution]) Dict[str, Any] [source]¶
Suggest parameters for a trial.
- Parameters
trial (optuna.trial._trial.Trial) –
params_to_tune (Dict[str, etna.distributions.distributions.BaseDistribution]) –
- Return type
Dict[str, Any]