-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(yaml): Enable mixed usage for run_args and neps func arguments +…
… new design for pre-load-hooks + new design for searcher config (yaml) (#102)
- Loading branch information
Showing
42 changed files
with
429 additions
and
413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
searcher_init: | ||
algorithm: asha | ||
searcher_kwargs: | ||
# Arguments that can be modified by the user | ||
eta: 3 | ||
early_stopping_rate: 0 | ||
initial_design_type: max_budget | ||
use_priors: false | ||
random_interleave_prob: 0.0 | ||
sample_default_first: false | ||
sample_default_at_target: false | ||
algorithm: asha | ||
# Arguments that can be modified by the user | ||
eta: 3 | ||
early_stopping_rate: 0 | ||
initial_design_type: max_budget | ||
use_priors: false | ||
random_interleave_prob: 0.0 | ||
sample_default_first: false | ||
sample_default_at_target: false | ||
|
||
# Arguments that can not be modified by the user | ||
# sampling_policy: RandomUniformPolicy | ||
# promotion_policy: AsyncPromotionPolicy | ||
# Arguments that can not be modified by the user | ||
# sampling_policy: RandomUniformPolicy | ||
# promotion_policy: AsyncPromotionPolicy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
searcher_init: | ||
algorithm: asha_prior | ||
searcher_kwargs: | ||
# Arguments that can be modified by the user | ||
eta: 3 | ||
early_stopping_rate: 0 | ||
initial_design_type: max_budget | ||
prior_confidence: medium # or {"low", "high"} | ||
random_interleave_prob: 0.0 | ||
sample_default_first: false | ||
sample_default_at_target: false | ||
algorithm: asha_prior | ||
# Arguments that can be modified by the user | ||
eta: 3 | ||
early_stopping_rate: 0 | ||
initial_design_type: max_budget | ||
prior_confidence: medium # or {"low", "high"} | ||
random_interleave_prob: 0.0 | ||
sample_default_first: false | ||
sample_default_at_target: false | ||
|
||
# Arguments that can not be modified by the user | ||
# sampling_policy: FixedPriorPolicy | ||
# promotion_policy: AsyncPromotionPolicy | ||
# Arguments that can not be modified by the user | ||
# sampling_policy: FixedPriorPolicy | ||
# promotion_policy: AsyncPromotionPolicy |
34 changes: 16 additions & 18 deletions
34
neps/optimizers/default_searchers/bayesian_optimization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
searcher_init: | ||
algorithm: bayesian_optimization | ||
searcher_kwargs: | ||
# Arguments that can be modified by the user | ||
initial_design_size: 10 | ||
surrogate_model: gp # or {"gp_hierarchy"} | ||
acquisition: EI # or {"LogEI", "AEI"} | ||
log_prior_weighted: false | ||
acquisition_sampler: mutation # or {"random", "evolution"} | ||
random_interleave_prob: 0.0 | ||
disable_priors: true | ||
sample_default_first: false | ||
algorithm: bayesian_optimization | ||
# Arguments that can be modified by the user | ||
initial_design_size: 10 | ||
surrogate_model: gp # or {"gp_hierarchy"} | ||
acquisition: EI # or {"LogEI", "AEI"} | ||
log_prior_weighted: false | ||
acquisition_sampler: mutation # or {"random", "evolution"} | ||
random_interleave_prob: 0.0 | ||
disable_priors: true | ||
sample_default_first: false | ||
|
||
# Other arguments: | ||
# surrogate_model_args: None # type: dict | ||
# optimal_assignment: false # type: bool | ||
# domain_se_kernel: None # type: str | ||
# graph_kernels: None # type: list | ||
# hp_kernels: None # type: list | ||
# Other arguments: | ||
# surrogate_model_args: None # type: dict | ||
# optimal_assignment: false # type: bool | ||
# domain_se_kernel: None # type: str | ||
# graph_kernels: None # type: list | ||
# hp_kernels: None # type: list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
searcher_init: | ||
algorithm: hyperband | ||
searcher_kwargs: | ||
# Arguments that can be modified by the user | ||
eta: 3 | ||
initial_design_type: max_budget | ||
use_priors: false | ||
random_interleave_prob: 0.0 | ||
sample_default_first: false | ||
sample_default_at_target: false | ||
algorithm: hyperband | ||
# Arguments that can be modified by the user | ||
eta: 3 | ||
initial_design_type: max_budget | ||
use_priors: false | ||
random_interleave_prob: 0.0 | ||
sample_default_first: false | ||
sample_default_at_target: false | ||
|
||
# Arguments that can not be modified by the user | ||
# sampling_policy: RandomUniformPolicy | ||
# promotion_policy: SyncPromotionPolicy | ||
# Arguments that can not be modified by the user | ||
# sampling_policy: RandomUniformPolicy | ||
# promotion_policy: SyncPromotionPolicy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,25 @@ | ||
searcher_init: | ||
algorithm: mobster | ||
searcher_kwargs: | ||
# Arguments that can be modified by the user | ||
eta: 3 | ||
initial_design_type: max_budget | ||
use_priors: false | ||
random_interleave_prob: 0.0 | ||
sample_default_first: false | ||
sample_default_at_target: false | ||
algorithm: mobster | ||
# Arguments that can be modified by the user | ||
eta: 3 | ||
initial_design_type: max_budget | ||
use_priors: false | ||
random_interleave_prob: 0.0 | ||
sample_default_first: false | ||
sample_default_at_target: false | ||
|
||
# arguments for model | ||
surrogate_model: gp # or {"gp_hierarchy"} | ||
acquisition: EI # or {"LogEI", "AEI"} | ||
log_prior_weighted: false | ||
acquisition_sampler: random # or {"mutation", "evolution"} | ||
# arguments for model | ||
surrogate_model: gp # or {"gp_hierarchy"} | ||
acquisition: EI # or {"LogEI", "AEI"} | ||
log_prior_weighted: false | ||
acquisition_sampler: random # or {"mutation", "evolution"} | ||
|
||
# Arguments that can not be modified by the user | ||
# sampling_policy: RandomUniformPolicy | ||
# promotion_policy: AsyncPromotionPolicy | ||
# model_policy: ModelPolicy | ||
# Arguments that can not be modified by the user | ||
# sampling_policy: RandomUniformPolicy | ||
# promotion_policy: AsyncPromotionPolicy | ||
# model_policy: ModelPolicy | ||
|
||
# Other arguments | ||
# surrogate_model_args: None # type: dict | ||
# domain_se_kernel: None # type: str | ||
# graph_kernels: None # type: list | ||
# hp_kernels: None # type: list | ||
# Other arguments | ||
# surrogate_model_args: None # type: dict | ||
# domain_se_kernel: None # type: str | ||
# graph_kernels: None # type: list | ||
# hp_kernels: None # type: list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
searcher_init: | ||
algorithm: bayesian_optimization | ||
searcher_kwargs: | ||
# Arguments that can be modified by the user | ||
initial_design_size: 10 | ||
surrogate_model: gp # or {"gp_hierarchy"} | ||
acquisition: EI # or {"LogEI", "AEI"} | ||
log_prior_weighted: false | ||
acquisition_sampler: mutation # or {"random", "evolution"} | ||
random_interleave_prob: 0.0 | ||
disable_priors: false | ||
prior_confidence: medium # or {"low", "high"} | ||
sample_default_first: false | ||
algorithm: bayesian_optimization | ||
# Arguments that can be modified by the user | ||
initial_design_size: 10 | ||
surrogate_model: gp # or {"gp_hierarchy"} | ||
acquisition: EI # or {"LogEI", "AEI"} | ||
log_prior_weighted: false | ||
acquisition_sampler: mutation # or {"random", "evolution"} | ||
random_interleave_prob: 0.0 | ||
disable_priors: false | ||
prior_confidence: medium # or {"low", "high"} | ||
sample_default_first: false | ||
|
||
# Other arguments: | ||
# surrogate_model_args: None # type: dict | ||
# optimal_assignment: false # type: bool | ||
# domain_se_kernel: None # type: str | ||
# graph_kernels: None # type: list | ||
# hp_kernels: None # type: list | ||
# Other arguments: | ||
# surrogate_model_args: None # type: dict | ||
# optimal_assignment: false # type: bool | ||
# domain_se_kernel: None # type: str | ||
# graph_kernels: None # type: list | ||
# hp_kernels: None # type: list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,20 @@ | ||
searcher_init: | ||
algorithm: priorband | ||
searcher_kwargs: | ||
# Arguments that can be modified by the user | ||
eta: 3 | ||
initial_design_type: max_budget | ||
prior_confidence: medium # or {"low", "high"} | ||
random_interleave_prob: 0.0 | ||
sample_default_first: true | ||
sample_default_at_target: false | ||
prior_weight_type: geometric | ||
inc_sample_type: mutation | ||
inc_mutation_rate: 0.5 | ||
inc_mutation_std: 0.25 | ||
inc_style: dynamic | ||
algorithm: priorband | ||
# Arguments that can be modified by the user | ||
eta: 3 | ||
initial_design_type: max_budget | ||
prior_confidence: medium # or {"low", "high"} | ||
random_interleave_prob: 0.0 | ||
sample_default_first: true | ||
sample_default_at_target: false | ||
prior_weight_type: geometric | ||
inc_sample_type: mutation | ||
inc_mutation_rate: 0.5 | ||
inc_mutation_std: 0.25 | ||
inc_style: dynamic | ||
|
||
# arguments for model | ||
model_based: false # crucial argument to set to allow model-search | ||
# arguments for model | ||
model_based: false # crucial argument to set to allow model-search | ||
|
||
# Arguments that can not be modified by the user | ||
# sampling_policy: EnsemblePolicy | ||
# promotion_policy: SyncPromotionPolicy | ||
# Arguments that can not be modified by the user | ||
# sampling_policy: EnsemblePolicy | ||
# promotion_policy: SyncPromotionPolicy |
Oops, something went wrong.