Skip to content

Commit dc90ab0

Browse files
committed
cosmetic
1 parent 080cbb7 commit dc90ab0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

results/Readme.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ I usually find that I present data to the model in blocks, which usually contain
55

66
#Using from training code
77
Two functions are provided which are called by the training routine:
8-
*results.startRun
8+
9+
### `results.startRun`
910
This is called before any training, and stores information about the run for future reference. It also creates the database file (by default `results.sqlite`) if it doesn't exist.
1011

1112
The supplied information I store for each run are pretty much the arguments of this function and the columns of the table RUNS. Exception: `callerFilePath` is a list of filenames whose contents we store - e.g. the code. I use the nonemptiness of `continuation` to indicate that the model was not trained from scratch, but from the saved weights of the previous run. `architecture` and `solver` are basically assumed in diffRuns and describeRun to be long JSON strings. You can change any of this.
1213

13-
*results.step
14+
### `results.step`
1415
This stores the reported training and test objective and accuracy from each step of training.
1516
These are stored in the STEPS table.
1617
The time for the first 10 steps is remembered in the steps table.
@@ -23,7 +24,7 @@ results = require 'results'
2324
Only one process should modify the database at any one time; you cannot train two models to the same database. But you can have as many processes as you like connected to the database and using the query functions, even during training.
2425

2526
#Using the results
26-
I usually have an alias like 'ipython -i -c "import numpy as np; import results as r"'.
27+
I usually have an alias like `ipython -i -c "import numpy as np; import results as r"`.
2728
The following functions are easy to use analysis functions.
2829
* `r.runList()` and `r.runList2()` provide summaries of all the runs.
2930
* `r.plotRun(x)` draws a graph of the training of the xth run

0 commit comments

Comments
 (0)