Skip to content

Commit 42b5680

Browse files
Merge pull request #317 from quantopian/master
Our PyMC3 port is complete!
2 parents f8e5d83 + a1b90c2 commit 42b5680

23 files changed

+17442
-8132
lines changed

Chapter1_Introduction/Ch1_Introduction_PyMC2.ipynb

Lines changed: 1135 additions & 0 deletions
Large diffs are not rendered by default.

Chapter1_Introduction/Ch1_Introduction_PyMC3.ipynb

Lines changed: 1068 additions & 0 deletions
Large diffs are not rendered by default.

Chapter1_Introduction/Chapter1.ipynb

Lines changed: 0 additions & 1134 deletions
This file was deleted.

Chapter2_MorePyMC/Ch2_MorePyMC_PyMC2.ipynb

Lines changed: 2515 additions & 0 deletions
Large diffs are not rendered by default.

Chapter2_MorePyMC/Ch2_MorePyMC_PyMC3.ipynb

Lines changed: 2580 additions & 0 deletions
Large diffs are not rendered by default.

Chapter2_MorePyMC/Chapter2.ipynb

Lines changed: 0 additions & 2643 deletions
This file was deleted.

Chapter2_MorePyMC/separation_plot.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ def separation_plot( p, y, **kwargs ):
2626
p = p.reshape( n, 1 )
2727
M = p.shape[1]
2828

29-
#colors = np.array( ["#fdf2db", "#e44a32"] )
3029
colors_bmh = np.array( ["#eeeeee", "#348ABD"] )
3130

3231

33-
fig = plt.figure( )#figsize = (8, 1.3*M) )
32+
fig = plt.figure( )
3433

3534
for i in range(M):
3635
ax = fig.add_subplot(M, 1, i+1)
@@ -43,8 +42,6 @@ def separation_plot( p, y, **kwargs ):
4342
linewidth = 1.,drawstyle="steps-post" )
4443
#create expected value bar.
4544
ax.vlines( [(1-p[ix,i]).sum()], [0], [1] )
46-
#ax.grid(False)
47-
#ax.axis('off')
4845
plt.xlim( 0, n)
4946

5047
plt.tight_layout()

Chapter3_MCMC/Ch3_IntroMCMC_PyMC2.ipynb

Lines changed: 1413 additions & 0 deletions
Large diffs are not rendered by default.

Chapter3_MCMC/Ch3_IntroMCMC_PyMC3.ipynb

Lines changed: 1325 additions & 0 deletions
Large diffs are not rendered by default.

Chapter3_MCMC/Chapter3.ipynb

Lines changed: 0 additions & 1460 deletions
This file was deleted.

0 commit comments

Comments
 (0)