Skip to content

Commit

Permalink
styles to most .ipynb + readme. Gunna push for nbviewer
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Feb 17, 2013
1 parent 3f5e61b commit c4fef81
Show file tree
Hide file tree
Showing 9 changed files with 386 additions and 245 deletions.
9 changes: 1 addition & 8 deletions Chapter1_Introduction/Chapter1_Introduction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,7 @@
" .prompt{\n",
" display: None;\n",
" }\n",
"</style>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"</style>\n",
"<script>\n",
" MathJax.Hub.Config({\n",
" TeX: {\n",
Expand Down Expand Up @@ -91,7 +85,6 @@
"The Philosophy of Bayesian Inference\n",
"------\n",
"\n",
"How would you handle the following situation?\n",
" \n",
"> You are a skilled programmer, but bugs still slip into your code. After a particularly difficult implementation of an algorithm, you decide to test your code on a trivial example. It passes. You test the code on a harder problem. It passes once again. And it passes the next, *even more difficult*, test too! You are starting to believe that there are may be no bugs present...\n",
"\n",
Expand Down
10 changes: 6 additions & 4 deletions Chapter1_Introduction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,20 @@ The lesson was created with IPython Notebook. It allows a user to interact with

*If you do not have IPython Notebook installed, you can use Option 2 or 3 to review the material. The lesson will not be interactive.*


### Option 2
-------------
PDFs of the chapters are available [online](https://github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/tree/master/previews).
Open with your browser: http://nbviewer.ipython.org/urls/raw.github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Chapter1_Introduction/Chapter1_Introduction.ipynb


### Option 3
-------------
Open with your browser: http://nbviewer.ipython.org/urls/raw.github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Chapter1_Introduction/Chapter1_Introduction.ipynb
PDFs of the chapters are available [online](https://github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/tree/master/previews).
These are update periodically: they will not be the most recent.



#### Screenshot of notebook for Chapter 1
---------------
![alt text][logo]
[logo]: https://raw.github.com/bigsnarfdude/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Chapter1_Introduction/Screen%20Shot%202013-02-06%20at%205.52.18%20PM.png "Chapter 1 iPython Notebook Screenshot"
[logo]: https://raw.github.com/bigsnarfdude/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Chapter1_Introduction/Screen%20Shot%202013-02-06%20at%205.52.18%20PM.png "Chapter 1 IPython Notebook Screenshot"

19 changes: 0 additions & 19 deletions Chapter1_Introduction/README.md~

This file was deleted.

145 changes: 83 additions & 62 deletions Chapter2_MorePyMC/MorePyMC.ipynb

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions Chapter2_MorePyMC/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ The lesson was created with IPython Notebook. It allows a user to interact with

### Option 2
-------------
PDFs of the chapters are available [online](https://github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/tree/master/previews).
These pdf are compiled periodically and do not express the most up-to-date content. For that, consider Option 3:
For more
Open with your browser: http://nbviewer.ipython.org/urls/raw.github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Chapter1_Introduction/Chapter1_Introduction.ipynb


### Option 3
-------------
Open with your browser: http://nbviewer.ipython.org/urls/raw.github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Chapter2_MorePyMC/MorePyMC.ipynb
PDFs of the chapters are available [online](https://github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/tree/master/previews).
These are update periodically: they will not be the most recent.



#### Screenshot of notebook for Chapter 2
---------------
Expand Down
92 changes: 71 additions & 21 deletions Chapter4_TheGreatestTheoremNeverTold/LawOfLargeNumbers.ipynb

Large diffs are not rendered by default.

342 changes: 217 additions & 125 deletions Chapter5_/LossFunctions.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Chapter5_/draw_sky2.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def draw_sky( galaxies ):
"""adapted from Vishal Goklani"""
size_multiplier = 45
fig = plt.figure(figsize=(9,9))
fig = plt.figure(figsize=(10,10))
fig.patch.set_facecolor("blue")
ax = fig.add_subplot(111, aspect='equal')
n = galaxies.shape[0]
Expand Down
2 changes: 1 addition & 1 deletion styles/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
div.text_cell_render{
font-family: Computer Modern, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
line-height: 145%;
font-size: 110%;
font-size: 120%;
width:800px;
margin-left:auto;
margin-right:auto;
Expand Down

0 comments on commit c4fef81

Please sign in to comment.