Skip to content

Commit a24d3e3

Browse files
Distribution Table added
Signed-off-by: Shashank Mittal <[email protected]>
1 parent 42f1e14 commit a24d3e3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/proposals/parameter-distribution.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,24 @@ ref: http://hyperopt.github.io/hyperopt/getting-started/search_spaces/#parameter
7979
#### Scikit Optimize
8080
ref: https://scikit-optimize.github.io/stable/modules/classes.html#module-skopt.space.space
8181

82+
#### Parameter Distribution Table
83+
| Distribution Type | Hyperopt | Optuna | Ray Tune |
84+
|-------------------------------|-----------------------|--------------------------------------|-----------------------|
85+
| **Uniform Continuous** | `hp.uniform` | `FloatDistribution` | `tune.uniform` |
86+
| **Quantized Uniform** | `hp.quniform` | `DiscreteUniformDistribution`(deprecated) Use FloatDistribution instead. | `tune.quniform` |
87+
| **Log Uniform** | `hp.loguniform` | `LogUniformDistribution`(deprecated) Use FloatDistribution instead. | `tune.loguniform` |
88+
| **Uniform Integer** | `hp.randint` | `IntDistribution` | `tune.randint` |
89+
| **Categorical** | `hp.choice` | `CategoricalDistribution` | `tune.choice` |
90+
91+
| **Quantized Log Uniform** | `hp.qloguniform` | | `tune.qloguniform` |
92+
| **Quantized Integer** | `hp.quniformint` | `IntUniformDistribution` | |
93+
| **Log Integer** | | `IntLogUniformDistribution` | `tune.lograndint` |
94+
| **Normal** | `hp.normal` | | `tune.randn` |
95+
| **Quantized Normal** | `hp.qnormal` | | `tune.qrandn` |
96+
| **Log Normal** | `hp.lognormal` | | |
97+
| **Quantized Log Normal** | `hp.qlognormal` | | |
98+
99+
82100
### Testing
83101
- Write unit tests for the conversion webhook to ensure all fields are correctly converted.
84102
- Write unit tests for the new parameter distributions to ensure they are processed correctly by the controller.

0 commit comments

Comments
 (0)