Created
February 9, 2018 13:46
-
-
Save WillKoehrsen/ec1bd17a1c6c2733cdabdaa36d709d49 to your computer and use it in GitHub Desktop.
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
# pandas and numpy for data manipulation | |
import pandas as pd | |
import numpy as np | |
# scipy for algorithms | |
import scipy | |
from scipy import stats | |
# pymc3 for Bayesian Inference, pymc built on t | |
import pymc3 as pm | |
import theano.tensor as tt | |
import scipy | |
# matplotlib for plotting | |
import matplotlib.pyplot as plt | |
%matplotlib inline | |
from IPython.core.pylabtools import figsize | |
import matplotlib | |
import json | |
s = json.load(open('style/bmh_matplotlibrc.json')) | |
matplotlib.rcParams.update(s) | |
matplotlib.rcParams['figure.figsize'] = (10, 3) | |
matplotlib.rcParams['font.size'] = 14 | |
# Number of samples for Markov Chain Monte Carlo | |
N_SAMPLES = 5000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment