forked from pymc-devs/pymc-resources
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
decentralize environments (pymc-devs#79)
* decentralize environments * decentralize environments * Fix typo per comment Co-authored-by: Ravin Kumar <ravinsdrive@gmail.com>
- Loading branch information
1 parent
8f1677c
commit 416a42a
Showing
8 changed files
with
83 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,6 @@ channels: | |
dependencies: | ||
- jupyter | ||
- seaborn | ||
- pip | ||
- pip: | ||
- "git+git://github.com/pymc-devs/pymc3.git@master" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Bayesian Statistical Methods Python and PyMC3 | ||
|
||
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. | ||
|
||
## Display notebooks | ||
[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/pymc-devs/resources/master?filepath=BSM) | ||
[<img src="http://nbviewer.jupyter.org/static/img/nav_logo.svg" width=120>](http://nbviewer.jupyter.org/github/pymc-devs/resources/blob/master/BSM) | ||
|
||
## Contributing | ||
|
||
All contributions are welcome! | ||
|
||
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. | ||
|
||
|
||
## Installing the dependencies | ||
|
||
To install the dependencies to run these notebooks, you can use [Anaconda](https://www.continuum.io/downloads). Once you have installed Anaconda, run: | ||
|
||
conda env create -f environment.yml | ||
|
||
to install all the dependencies into an isolated environment. | ||
|
||
Activate the environment by running: | ||
|
||
source activate bsm-pymc3 | ||
|
||
--- | ||
|
||
<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>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
name: pymc3_resources | ||
name: bsm-pymc3 | ||
channels: | ||
- defaults | ||
dependencies: | ||
- jupyter | ||
- seaborn | ||
- statsmodels | ||
- mkl-service | ||
- pip | ||
- pip: | ||
- "git+git://github.com/arviz-devs/arviz.git@master" | ||
- "git+git://github.com/pymc-devs/pymc3.git@master" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Statistical Rethinking (second edition) with Python and PyMC3 | ||
|
||
[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. | ||
|
||
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. | ||
|
||
## Display notebooks | ||
[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/pymc-devs/resources/master?filepath=Rethinking_2) | ||
[<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) | ||
|
||
|
||
## Contributing | ||
|
||
All contributions are welcome! | ||
|
||
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. | ||
|
||
You can also join the discussion on [Gitter](https://gitter.im/Statistical-Rethinking-with-Python-and-PyMC3/Lobby). | ||
|
||
## Installing the dependencies | ||
|
||
To install the dependencies to run these notebooks, you can use [Anaconda](https://www.continuum.io/downloads). Once you have installed Anaconda, run: | ||
|
||
conda env create -f environment.yml | ||
|
||
to install all the dependencies into an isolated environment. | ||
|
||
Activate the environment by running: | ||
|
||
source activate stat-rethink2-pymc3 | ||
|
||
--- | ||
|
||
<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>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: stat-rethink2-pymc3 | ||
channels: | ||
- defaults | ||
dependencies: | ||
- jupyter | ||
- mkl-service | ||
- pip | ||
- pip: | ||
- watermark | ||
- "git+git://github.com/arviz-devs/arviz.git@master" | ||
- "git+git://github.com/pymc-devs/pymc3.git@master" |