optuna.distributions
distributions
モジュールは、主に最適化トライアルの初期ハイパーパラメータ値を提案するために使用する様々な確率分布クラスを定義しています。分布クラスはライブラリ内部の BaseDistribution
を継承しており、IntDistribution
の low
や high
といった特定のパラメータを指定して初期化されます。
Optuna のユーザーは直接分布クラスを使用するのではなく、Trial
が提供する suggest_int()
などのユーティリティ関数を使用する必要があります。
A distribution on floats. |
|
A distribution on integers. |
|
A categorical distribution. |
|
Serialize a distribution to JSON format. |
|
Deserialize a distribution in JSON format. |
|
A function to check compatibility of two distributions. |
以下のクラスは非推奨となっており、将来的に削除される予定です。
A uniform distribution in the linear domain. |
|
A uniform distribution in the log domain. |
|
A discretized uniform distribution in the linear domain. |
|
A uniform distribution on integers. |
|
A uniform distribution on integers in the log domain. |