Skip to content

Commit f84b450

Browse files
update readme with PYMC3 links
1 parent 0ee5047 commit f84b450

File tree

1 file changed

+40
-10
lines changed

1 file changed

+40
-10
lines changed

README.md

Lines changed: 40 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ The below chapters are rendered via the *nbviewer* at
4040
[nbviewer.ipython.org/](http://nbviewer.ipython.org/), and is read-only and rendered in real-time.
4141
Interactive notebooks + examples can be downloaded by cloning!
4242

43+
#### PyMC3
4344

4445
* [**Prologue:**](http://nbviewer.ipython.org/urls/raw.github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Prologue/Prologue.ipynb) Why we do it.
4546

@@ -74,14 +75,43 @@ Interactive notebooks + examples can be downloaded by cloning!
7475
- Estimating financial unknowns using expert priors
7576

7677
We explore useful tips to be objective in analysis as well as common pitfalls of priors.
77-
78-
* **Chapter X1: Bayesian methods in Machine Learning and Model Validation**
79-
We explore how to resolve the overfitting problem plus popular ML methods. Also included are probablistic explainations of ridge regression and LASSO regression.
80-
- Tim Saliman's winning solution to Kaggle's *Don't Overfit* problem
78+
79+
### PyMC3
80+
81+
* [**Prologue:**](http://nbviewer.ipython.org/urls/raw.github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Prologue/Prologue.ipynb) Why we do it.
82+
83+
* [**Chapter 1: Introduction to Bayesian Methods**](http://nbviewer.ipython.org/urls/raw.github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Chapter1_Introduction/Ch1_Introduction_PyMC3.ipynb)
84+
Introduction to the philosophy and practice of Bayesian methods and answering the question, "What is probabilistic programming?" Examples include:
85+
- Inferring human behaviour changes from text message rates
8186

82-
* **Chapter X2: More PyMC Hackery**
83-
We explore the gritty details of PyMC. Examples include:
84-
- Analysis on real-time GitHub repo stars and forks.
87+
* [**Chapter 2: A little more on PyMC**](http://nbviewer.ipython.org/urls/raw.github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Chapter2_MorePyMC/Ch2_MorePyMC_PyMC3.ipynb)
88+
We explore modeling Bayesian problems using Python's PyMC library through examples. How do we create Bayesian models? Examples include:
89+
- Detecting the frequency of cheating students, while avoiding liars
90+
- Calculating probabilities of the Challenger space-shuttle disaster
91+
92+
* [**Chapter 3: Opening the Black Box of MCMC**](http://nbviewer.ipython.org/urls/raw.github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Chapter3_MCMC/Ch3_IntroMCMC_PyMC3.ipynb)
93+
We discuss how MCMC operates and diagnostic tools. Examples include:
94+
- Bayesian clustering with mixture models
95+
96+
* [**Chapter 4: The Greatest Theorem Never Told**](http://nbviewer.ipython.org/urls/raw.github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Chapter4_TheGreatestTheoremNeverTold/Ch4_LawOfLargeNumbers_PyMC3.ipynb)
97+
We explore an incredibly useful, and dangerous, theorem: The Law of Large Numbers. Examples include:
98+
- Exploring a Kaggle dataset and the pitfalls of naive analysis
99+
- How to sort Reddit comments from best to worst (not as easy as you think)
100+
101+
* [**Chapter 5: Would you rather lose an arm or a leg?**](http://nbviewer.ipython.org/urls/raw.github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Chapter5_LossFunctions/Ch5_LossFunctions_PyMC3.ipynb)
102+
The introduction of loss functions and their (awesome) use in Bayesian methods. Examples include:
103+
- Solving the *Price is Right*'s Showdown
104+
- Optimizing financial predictions
105+
- Winning solution to the Kaggle Dark World's competition
106+
107+
* [**Chapter 6: Getting our *prior*-ities straight**](http://nbviewer.ipython.org/urls/raw.github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Chapter6_Priorities/Ch6_Priors_PyMC3.ipynb)
108+
Probably the most important chapter. We draw on expert opinions to answer questions. Examples include:
109+
- Multi-Armed Bandits and the Bayesian Bandit solution.
110+
- What is the relationship between data sample size and prior?
111+
- Estimating financial unknowns using expert priors
112+
113+
We explore useful tips to be objective in analysis as well as common pitfalls of priors.
114+
85115

86116

87117

@@ -97,7 +127,7 @@ The book can be read in three different ways, starting from most recommended to
97127
1. The most recommended option is to clone the repository to download the .ipynb files to your local machine. If you have IPython installed, you can view the
98128
chapters in your browser *plus* edit and run the code provided (and try some practice questions). This is the preferred option to read
99129
this book, though it comes with some dependencies.
100-
- IPython v0.13 (or greater) is a requirement to view the ipynb files. It can be downloaded [here](http://ipython.org/). IPython notebooks can be run by `(your-virtualenv) ~/path/to/the/book/Chapter1_Introduction $ ipython notebook`
130+
- IPython v2.0 (or greater) is a requirement to view the ipynb files. It can be downloaded [here](http://ipython.org/). IPython notebooks can be run by `(your-virtualenv) ~/path/to/the/book/Chapter1_Introduction $ ipython notebook`
101131
- For Linux users, you should not have a problem installing NumPy, SciPy, Matplotlib and PyMC. For Windows users, check out [pre-compiled versions](http://www.lfd.uci.edu/~gohlke/pythonlibs/) if you have difficulty.
102132
- In the styles/ directory are a number of files (.matplotlirc) that used to make things pretty. These are not only designed for the book, but they offer many improvements over the default settings of matplotlib.
103133
2. The second, preferred, option is to use the nbviewer.ipython.org site, which display IPython notebooks in the browser ([example](http://nbviewer.ipython.org/urls/raw.github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Chapter1_Introduction/Chapter1.ipynb)).
@@ -112,8 +142,8 @@ Installation and configuration
112142

113143
If you would like to run the IPython notebooks locally, (option 1. above), you'll need to install the following:
114144

115-
- IPython 0.13+ is a requirement to view the ipynb files. It can be downloaded [here](http://ipython.org/ipython-doc/dev/install/index.html)
116-
- Necessary packages are PyMC 2.2, NumPy, SciPy and Matplotlib.
145+
- IPython 2.0+ is a requirement to view the ipynb files. It can be downloaded [here](http://ipython.org/ipython-doc/dev/install/index.html)
146+
- Necessary packages are PyMC, NumPy, SciPy and Matplotlib.
117147
- For Linux/OSX users, you should not have a problem installing the above, [*except for Matplotlib on OSX*](http://www.penandpants.com/2012/02/24/install-python/).
118148
- For Windows users, check out [pre-compiled versions](http://www.lfd.uci.edu/~gohlke/pythonlibs/) if you have difficulty.
119149
- also recommended, for data-mining exercises, are [PRAW](https://github.com/praw-dev/praw) and [requests](https://github.com/kennethreitz/requests).

0 commit comments

Comments
 (0)