Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Car-la-F committed Sep 28, 2023
1 parent 6be9705 commit 6a2db44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/doc_benchmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ Furthermore, the user can declare:
- `startseed`: creates reproducible results (mandatory)
- `endseed`: creates reproducible results (mandatory)
- `mode`: set to `grid` to apply grid search for hyperparameter sampling (optional, for details see next section)
- `Shared params`: an optional list including the shared hyperparameters with respective sampling distribution
(mandatory if Shared params should be used) and in case of random sampling `num_shared_param_samples`
- `commonHyperpars2sample`: an optional list including the shared hyperparameters with respective sampling distribution
(mandatory if Shared parameters should be used) and in case of random sampling `num_shared_param_samples`
(number of samples for the shared hyperparameters, mandatory for random sampling)

Depending on which hyperparameter sampling technique is used (see section below), the user must also
Expand All @@ -140,7 +140,7 @@ respect/declare the following:
- `step`: "step-size" (float) between samples. Only points being a multiple of the step-size apart
can be sampled. `0` means that each real number can be sampled.
- `num_shared_param_samples`: number of samples for the shared hyperparameters. Must be defined
inside the Shared params section (if this section is used)
inside the commonHyperpars2sample section (if this section is used)
- grid search hyperparameter sampling (`mode`:`grid`):
- `num`: number of hyperparameters to be sampled (int) must be specified for each hyperparameter
(mandatory)
Expand Down
8 changes: 4 additions & 4 deletions docs/doc_benchmark_yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ domainlab_args:
###################################################################################
# Hyperparameters which appear in multiple tasks can e shared among these tasks.
# Hence for each task the same random sampled hyperparameters are used
Shared params:
commonHyperpars2sample:
#### For random sampling #####
# number of shared samples to be created.
# The sampling procedure creates a set of randomly sampled shared samples,
Expand Down Expand Up @@ -155,7 +155,7 @@ Task_Dann:
There are two possible ways of choosing your hyperparameters for the benchmark in domainlab, rand sampling and grid search. The decision about which method to use was already done in the previous section be either setting `num_param_samples` (for random sampling) or `mode: grid` (for gridsearch).

For filling in the sampling description for the into the `Shared params` and the `hyperparameter` section you have the following options:
For filling in the sampling description for the into the `commonHyperpars2sample` and the `hyperparameter` section you have the following options:

### uniform and loguniform distribution
1. uniform samples in the interval [min, max]
Expand Down Expand Up @@ -252,7 +252,7 @@ Task_Name:
aname: ...
...
# specify sections from the Shared params section
# specify sections from the commonHyperpars2sample section
shared:
- ...
# specify task specific hyperparameter sampling
Expand Down Expand Up @@ -283,7 +283,7 @@ Task_Name:
aname: ...
...
# specify sections from the Shared params section
# specify sections from the commonHyperpars2sample section
shared:
- ...
# add the constraints as a standalone section to the task
Expand Down

0 comments on commit 6a2db44

Please sign in to comment.