Sweeps: Conditional parameters
See original GitHub issueIt seems to me that there is currently no way to define a sweep where some parameters depends on another one, is it correct?
What I have in mind is something like this example from hyperopt
(source):
from hyperopt import hp
space = hp.choice('classifier_type', [
{
'type': 'naive_bayes',
},
{
'type': 'svm',
'C': hp.lognormal('svm_C', 0, 1),
'kernel': hp.choice('svm_kernel', [
{'ktype': 'linear'},
{'ktype': 'RBF', 'width': hp.lognormal('svm_rbf_width', 0, 1)},
]),
},
{
'type': 'dtree',
'criterion': hp.choice('dtree_criterion', ['gini', 'entropy']),
'max_depth': hp.choice('dtree_max_depth',
[None, hp.qlognormal('dtree_max_depth_int', 3, 1, 1)]),
'min_samples_split': hp.qlognormal('dtree_min_samples_split', 2, 1, 1),
},
])
At the moment this is not support by neither the “standard” sweeps nor by the beta Ray Tune sweeps, right?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:19 (4 by maintainers)
Top Results From Across the Web
Sweeps: Conditional parameters · Issue #1487 - GitHub
It seems to me that there is currently no way to define a sweep where some parameters depends on another one, is it...
Read more >Parametric Sweep
Using the Parameter switch sweep type, you can run specified sweeps for all or selected parameter cases for a parameter group, and if...
Read more >Parametric Sweep - an overview | ScienceDirect Topics
A parametric sweep allows for a parameter to be swept through a range of values and can be performed when running a transient,...
Read more >Parameter Sweeps, or How I Took My Neural Network for a ...
The short definition of a parameter sweep is that it's the process of trying different training parameter values in order to find a...
Read more >Tune Hyperparameters - Documentation - Weights & Biases
1. Add W&B to your code: In your Python script, add a couple lines of code to log hyperparameters and output metrics from...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hi, any news?
Leslie commented: We have this project listed as something we are going to do in the future