Skip to content

Commit b8a45e5

Browse files
committed
Improve formatting
1 parent b279646 commit b8a45e5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

source-code/hydra/README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,25 @@ multiruns and so on.
2121

2222

2323
## How to use it?
24+
2425
Run with configuratino file settings:
2526
```bash
2627
$ ./gen_rand.py
2728
```
29+
2830
To increase the number of random values:
2931
```bash
30-
$ ./gen_rand.py n=10
32+
$ ./gen_rand.py n=10
3133
```
3234

3335
To use a uniform distribution:
3436
```bash
35-
$ ./gen_rand.py distr=uniform
37+
$ ./gen_rand.py distr=uniform
3638
```
3739

3840
To use a uniform distribution between -1 and 0:
3941
```bash
40-
$ ./gen_rand.py distr=uniform distr.a=-1.0 distr.b=0.0
42+
$ ./gen_rand.py distr=uniform distr.a=-1.0 distr.b=0.0
4143
```
4244

4345
To use a different configuration file:
@@ -53,6 +55,8 @@ To perform multiple runs with different parameter values:
5355
```bash
5456
$ ./gen_rand.py -m distr=uniform,gauss
5557
```
58+
Note that if multiple parameters are to be varied, the Cartesian product of
59+
the values will be used.
5660

5761
To view the configuration settings, e.g., for debugging:
5862
```bash

0 commit comments

Comments
 (0)