Skip to content

Commit

Permalink
Update documentation on seed
Browse files Browse the repository at this point in the history
  • Loading branch information
vuolleko committed Jun 20, 2018
1 parent 3c7773b commit 79a6613
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"%precision 2\n",
"\n",
"# Set an arbitrary seed and a global random state to keep the randomly generated quantities the same between runs\n",
"seed = 20170530\n",
"seed = 20170530 # this will be separately given to ELFI\n",
"np.random.seed(seed)"
]
},
Expand Down Expand Up @@ -644,7 +644,7 @@
"\n",
"A common optional keyword argument, accepted by all inference methods, `batch_size` defines how many simulations are performed in each passing through the graph. \n",
"\n",
"Another optional keyword is the seed. This ensures that the outcome will be always the same for the same data and model. If you leave it out, a random seed will be taken. Giving `seed='global'` will use the global numpy seed."
"Another optional keyword is the seed. This ensures that the outcome will be always the same for the same data and model. If you leave it out, a random seed will be taken."
]
},
{
Expand Down

0 comments on commit 79a6613

Please sign in to comment.