Spaces:
Running
Running
MilesCranmer
commited on
Commit
·
3336e27
1
Parent(s):
a595f09
Should run own file
Browse files
README.md
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
# Running:
|
2 |
|
3 |
-
You can run the performance benchmark with `./benchmark.sh`.
|
4 |
-
|
5 |
Modify the hyperparameters in `hyperparams.jl` and the dataset in `dataset.jl`
|
6 |
(see below for options). Then, in a new Julia file called
|
7 |
`myfile.jl`, or the interpreter, you can write:
|
@@ -12,7 +10,8 @@ fullRun(10,
|
|
12 |
npop=100,
|
13 |
ncyclesperiteration=1000,
|
14 |
fractionReplaced=0.1f0,
|
15 |
-
verbosity=100
|
|
|
16 |
```
|
17 |
The first arg is the number of migration periods to run,
|
18 |
with `ncyclesperiteration` determining how many generations
|
@@ -20,7 +19,8 @@ per migration period. `npop` is the number of population members.
|
|
20 |
`annealing` determines whether to stay in exploration mode,
|
21 |
or tune it down with each cycle. `fractionReplaced` is
|
22 |
how much of the population is replaced by migrated equations each
|
23 |
-
step.
|
|
|
24 |
|
25 |
|
26 |
Run it with threading turned on using:
|
|
|
1 |
# Running:
|
2 |
|
|
|
|
|
3 |
Modify the hyperparameters in `hyperparams.jl` and the dataset in `dataset.jl`
|
4 |
(see below for options). Then, in a new Julia file called
|
5 |
`myfile.jl`, or the interpreter, you can write:
|
|
|
10 |
npop=100,
|
11 |
ncyclesperiteration=1000,
|
12 |
fractionReplaced=0.1f0,
|
13 |
+
verbosity=100,
|
14 |
+
topn=10)
|
15 |
```
|
16 |
The first arg is the number of migration periods to run,
|
17 |
with `ncyclesperiteration` determining how many generations
|
|
|
19 |
`annealing` determines whether to stay in exploration mode,
|
20 |
or tune it down with each cycle. `fractionReplaced` is
|
21 |
how much of the population is replaced by migrated equations each
|
22 |
+
step. `topn` is the number of top members of each population
|
23 |
+
to migrate.
|
24 |
|
25 |
|
26 |
Run it with threading turned on using:
|