You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes you need to use `numpy`'s `random` library, for example to get a Poisson distribution.
28
28
@@ -35,7 +35,7 @@ class MyModel(Model):
35
35
36
36
And just use `numpy`'s random as usual, e.g. `self.random.poisson()`.
37
37
38
-
## Using multi-process `` `batch_run` `` on Windows
38
+
## Using multi-process `batch_run` on Windows
39
39
40
40
You will have an issue with `batch_run` and `number_processes = None`. Your cell will
41
41
show no progress, and in your terminal you will receive *AttributeError: Can't get attribute 'MoneyModel' on
@@ -61,5 +61,5 @@ if __name__ == '__main__':
61
61
```
62
62
63
63
If you would still like to run your code in Jupyter you will need to adjust the cell as noted above. Then you can
64
-
you can add the [nbmultitask library](<(https://nbviewer.org/github/micahscopes/nbmultitask/blob/39b6f31b047e8a51a0fcb5c93ae4572684f877ce/examples.ipynb)>)
64
+
you can add the [nbmultitask library](https://nbviewer.org/github/micahscopes/nbmultitask/blob/39b6f31b047e8a51a0fcb5c93ae4572684f877ce/examples.ipynb)
65
65
or look at this [stackoverflow](https://stackoverflow.com/questions/50937362/multiprocessing-on-python-3-jupyter).
0 commit comments