All Projects → markdregan → Bayesian Modelling In Python

markdregan / Bayesian Modelling In Python

A python tutorial on bayesian modeling techniques (PyMC3)

Programming Languages

Jupyter Notebook
11667 projects
CSS
56736 projects

Projects that are alternatives of or similar to Bayesian Modelling In Python

Rethinking Tensorflow Probability
Statistical Rethinking (2nd Ed) with Tensorflow Probability
Stars: ✭ 152 (-93.48%)
Mutual labels:  jupyter-notebook, bayesian-statistics
Learnpythonforresearch
This repository provides everything you need to get started with Python for (social science) research.
Stars: ✭ 163 (-93.01%)
Mutual labels:  jupyter-notebook, tutorial
Pytorch Question Answering
Important paper implementations for Question Answering using PyTorch
Stars: ✭ 154 (-93.4%)
Mutual labels:  jupyter-notebook, tutorial
Digital video introduction
A hands-on introduction to video technology: image, video, codec (av1, vp9, h265) and more (ffmpeg encoding).
Stars: ✭ 12,184 (+422.47%)
Mutual labels:  jupyter-notebook, tutorial
Deeptoxic
top 1% solution to toxic comment classification challenge on Kaggle.
Stars: ✭ 180 (-92.28%)
Mutual labels:  jupyter-notebook, tutorial
Anomaly detection tuto
Anomaly detection tutorial on univariate time series with an auto-encoder
Stars: ✭ 144 (-93.83%)
Mutual labels:  jupyter-notebook, tutorial
Interspeech2019 Tutorial
INTERSPEECH 2019 Tutorial Materials
Stars: ✭ 160 (-93.14%)
Mutual labels:  jupyter-notebook, tutorial
Imageprocessing
MicaSense RedEdge and Altum image processing tutorials
Stars: ✭ 139 (-94.04%)
Mutual labels:  jupyter-notebook, tutorial
Astropy Tutorials
Tutorials for the Astropy Project
Stars: ✭ 174 (-92.54%)
Mutual labels:  jupyter-notebook, tutorial
Psi4numpy
Combining Psi4 and Numpy for education and development.
Stars: ✭ 170 (-92.71%)
Mutual labels:  jupyter-notebook, tutorial
Scipy con 2019
Tutorial Sessions for SciPy Con 2019
Stars: ✭ 142 (-93.91%)
Mutual labels:  jupyter-notebook, tutorial
Imodels
Interpretable ML package 🔍 for concise, transparent, and accurate predictive modeling (sklearn-compatible).
Stars: ✭ 194 (-91.68%)
Mutual labels:  jupyter-notebook, tutorial
Google2csv
Google2Csv a simple google scraper that saves the results on a csv/xlsx/jsonl file
Stars: ✭ 145 (-93.78%)
Mutual labels:  jupyter-notebook, tutorial
Autonomousdrivingcookbook
Scenarios, tutorials and demos for Autonomous Driving
Stars: ✭ 1,939 (-16.85%)
Mutual labels:  jupyter-notebook, tutorial
Elmo Tutorial
A short tutorial on Elmo training (Pre trained, Training on new data, Incremental training)
Stars: ✭ 145 (-93.78%)
Mutual labels:  jupyter-notebook, tutorial
Gasyori100knock
image processing codes to understand algorithm
Stars: ✭ 1,988 (-14.75%)
Mutual labels:  jupyter-notebook, tutorial
Pydata Chicago2016 Ml Tutorial
Machine learning with scikit-learn tutorial at PyData Chicago 2016
Stars: ✭ 128 (-94.51%)
Mutual labels:  jupyter-notebook, tutorial
Deeplearningfornlpinpytorch
An IPython Notebook tutorial on deep learning for natural language processing, including structure prediction.
Stars: ✭ 1,744 (-25.21%)
Mutual labels:  jupyter-notebook, tutorial
Shape Detection
🟣 Object detection of abstract shapes with neural networks
Stars: ✭ 170 (-92.71%)
Mutual labels:  jupyter-notebook, tutorial
Gans From Theory To Production
Material for the tutorial: "Deep Diving into GANs: from theory to production"
Stars: ✭ 182 (-92.2%)
Mutual labels:  jupyter-notebook, tutorial

Bayesian Modelling in Python

Bayesian Modelling in Python

Welcome to "Bayesian Modelling in Python" - a tutorial for those interested in learning how to apply bayesian modelling techniques in python (PYMC3). This tutorial doesn't aim to be a bayesian statistics tutorial - but rather a programming cookbook for those who understand the fundamental of bayesian statistics and want to learn how to build bayesian models using python. The tutorial sections and topics can be seen below.

Contents

  • Introduction

    • Motivation for learning bayesian statistics
    • Loading and parsing Hangout chat data
  • Section 1: Estimating model parameters

    • Frequentist technique for estimating parameters of a poisson model (Optimization routine)
    • Bayesian technique for estimating parameters of a poisson model (MCMC)
  • Section 2: Model checking & comparison

    • Posterior predictive check
    • Bayes factor
  • Section 3: Hierarchal modeling

    • Model pooling (separate models)
    • Partial pooling (hierarchal models)
    • Shrinkage effect of partial pooling
  • Section 4: Bayesian regression

    • Bayesian fixed effects poisson regression
    • Bayesian mixed effects poisson regression
  • Section 5: Bayesian survival analysis

    • Survival model theory
    • Cox proportional hazard model
    • Aalen's additive hazard model
  • Section 6: Bayesian A/B tests

    • Bayesian test of proportions
    • Bayesian t-test (BEST)

Contributions

  • All contributions are more than welcome. They can be minor (spelling, better explanations, improved code/charts) or major (contribute a full section).
  • If you would like to contribute, please create a pull request in GitHub. Happy to discuss ideas before you begin working on the addition.
  • I would especially welcome any contributions that address: survival analysis, mixture models, time series models or A/B experiments.
  • If you're not familiar with GitHub - please email me at [email protected].

Motivation for learning bayesian statistics

Statistics is a topic that never resonated with me throughout university. The frequentist techniques that we were taught (p-values etc) felt contrived and ultimately I turned my back on statistics as a topic that I wasn't interested in.

That was until I stumbled upon Bayesian statistics - a branch to statistics quite different from the traditional frequentist statistics that most universities teach. I was inspired by a number of different publications, blogs & videos that I would highly recommend any newbies to bayesian stats to begin with. They include:

I created this tutorial in the hope that others find it useful and it helps them learn Bayesian techniques just like the above resources helped me. I hope you find it useful and I'd welcome any corrections/comments/contributions from the community.

Note

This tutorial is actively being worked on. I'm keen to get feedback and welcome ideas/contributions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].