optuna.distributions.json_to_distribution

optuna.distributions.json_to_distribution(json_str: str) → optuna.distributions.BaseDistribution[source]

Deserialize a distribution in JSON format.

Parameters

json_str – A JSON-serialized distribution.

Returns

A deserialized distribution.