Skip to content

Commit 1cabe58

Browse files
committed
Add run example for hydra application
1 parent 26de7c7 commit 1cabe58

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

source-code/hydra/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,23 @@ multiruns and so on.
1414
1. `config.yaml`: configuration file with the defaults.
1515
1. `distr/gauss.yaml`: configuration file for the Gaussian distirubtion.
1616
1. `distr/uniform.yaml`: configuration file for the uniform distirubtion.
17+
18+
## How to use it?
19+
Run with configuratino file settings:
20+
```bash
21+
$ ./gen_rand.py
22+
```
23+
To increase the number of random values:
24+
```bash
25+
$ ./gen_rand.py 10
26+
```
27+
28+
To use a uniform distribution:
29+
```bash
30+
$ ./gen_rand.py distr=uniform
31+
```
32+
33+
To use a uniform distribution between -1 and 0:
34+
```bash
35+
$ ./gen_rand.py distr=uniform distr.a=-1.0 distr.b=0.0
36+
```

0 commit comments

Comments
 (0)