Skip to content

Commit 416a42a

Browse files
decentralize environments (#79)
* decentralize environments * decentralize environments * Fix typo per comment Co-authored-by: Ravin Kumar <[email protected]>
1 parent 8f1677c commit 416a42a

File tree

8 files changed

+83
-4
lines changed

8 files changed

+83
-4
lines changed

BCM/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ dependencies:
66
- mkl-service
77
- seaborn
88
- statsmodels
9+
- pip
910
- pip:
1011
- "git+git://github.com/pymc-devs/pymc3.git@master"

BDA3/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ channels:
44
dependencies:
55
- jupyter
66
- seaborn
7+
- pip
78
- pip:
89
- "git+git://github.com/pymc-devs/pymc3.git@master"

BSM/README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Bayesian Statistical Methods Python and PyMC3
2+
3+
In this repository we port [the book's original code](https://bayessm.wordpress.ncsu.edu) to Python and PyMC3. We attempt to reproduce the examples as faithfully as possible while expressing them in a _Pythonic_ and _PyMC3onic_ way.
4+
5+
## Display notebooks
6+
[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/pymc-devs/resources/master?filepath=BSM)
7+
[<img src="http://nbviewer.jupyter.org/static/img/nav_logo.svg" width=120>](http://nbviewer.jupyter.org/github/pymc-devs/resources/blob/master/BSM)
8+
9+
## Contributing
10+
11+
All contributions are welcome!
12+
13+
Feel free to send a PR to fix errors, improve the code, or make comments that could help users of this repository and readers of the book.
14+
15+
16+
## Installing the dependencies
17+
18+
To install the dependencies to run these notebooks, you can use [Anaconda](https://www.continuum.io/downloads). Once you have installed Anaconda, run:
19+
20+
conda env create -f environment.yml
21+
22+
to install all the dependencies into an isolated environment.
23+
24+
Activate the environment by running:
25+
26+
source activate bsm-pymc3
27+
28+
---
29+
30+
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br /><span>Statistical Rethinking with Python and PyMC3</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="https://github.com/aloctavodia/Statistical-Rethinking-with-Python-and-PyMC3/graphs/contributors" property="cc:attributionName" rel="cc:attributionURL">All Contributors</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
name: pymc3_resources
1+
name: bsm-pymc3
22
channels:
33
- defaults
44
dependencies:
55
- jupyter
6-
- seaborn
7-
- statsmodels
6+
- mkl-service
7+
- pip
88
- pip:
9+
- "git+git://github.com/arviz-devs/arviz.git@master"
910
- "git+git://github.com/pymc-devs/pymc3.git@master"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# PyMC3 Resources
2-
PyMC3 educational resources, including PyMC3 port of books (original models in STAN/BUGS/JAGS etc,.), PyMC3 talk slides, case studies, and other resources.
2+
PyMC3 educational resources, including the PyMC3 port of the following books (original models in STAN/BUGS/JAGS etc,.):
33

44
- [PyMC3 port of the book "Statistical Rethinking" by Richard McElreath (first edition)](https://github.com/pymc-devs/resources/tree/master/Rethinking)
55
- [PyMC3 port of the book "Statistical Rethinking" by Richard McElreath (second edition)](https://github.com/pymc-devs/resources/tree/master/Rethinking_2)

Rethinking/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ dependencies:
66
- mkl-service
77
- seaborn
88
- statsmodels
9+
- pip
910
- pip:
1011
- "git+git://github.com/arviz-devs/arviz.git@master"
1112
- "git+git://github.com/pymc-devs/pymc3.git@master"

Rethinking_2/README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Statistical Rethinking (second edition) with Python and PyMC3
2+
3+
[Statistical Rethinking](http://xcelab.net/rm/statistical-rethinking/) is an incredible introductory book to Bayesian Statistics. It follows a [_Jaynesian_](https://en.wikipedia.org/wiki/Edwin_Thompson_Jaynes) and practical approach with very good examples and clear explanations.
4+
5+
In this repository we port [the book's original code in R and Stan](https://github.com/rmcelreath/rethinking) to Python and PyMC3. We attempt to reproduce the examples as faithfully as possible while expressing them in a _Pythonic_ and _PyMC3onic_ way.
6+
7+
## Display notebooks
8+
[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/pymc-devs/resources/master?filepath=Rethinking_2)
9+
[<img src="http://nbviewer.jupyter.org/static/img/nav_logo.svg" width=120>](http://nbviewer.jupyter.org/github/pymc-devs/resources/blob/master/Rethinking_2)
10+
11+
12+
## Contributing
13+
14+
All contributions are welcome!
15+
16+
Feel free to send PR to fix errors, improve the code, or make comments that could help users of this repository and readers of the book.
17+
18+
You can also join the discussion on [Gitter](https://gitter.im/Statistical-Rethinking-with-Python-and-PyMC3/Lobby).
19+
20+
## Installing the dependencies
21+
22+
To install the dependencies to run these notebooks, you can use [Anaconda](https://www.continuum.io/downloads). Once you have installed Anaconda, run:
23+
24+
conda env create -f environment.yml
25+
26+
to install all the dependencies into an isolated environment.
27+
28+
Activate the environment by running:
29+
30+
source activate stat-rethink2-pymc3
31+
32+
---
33+
34+
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br /><span>Statistical Rethinking with Python and PyMC3</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="https://github.com/aloctavodia/Statistical-Rethinking-with-Python-and-PyMC3/graphs/contributors" property="cc:attributionName" rel="cc:attributionURL">All Contributors</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.

Rethinking_2/environment.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: stat-rethink2-pymc3
2+
channels:
3+
- defaults
4+
dependencies:
5+
- jupyter
6+
- mkl-service
7+
- pip
8+
- pip:
9+
- watermark
10+
- "git+git://github.com/arviz-devs/arviz.git@master"
11+
- "git+git://github.com/pymc-devs/pymc3.git@master"

0 commit comments

Comments
 (0)