Skip to content

Instantly share code, notes, and snippets.

View junpenglao's full-sized avatar
🏠
Working from home

Junpeng Lao junpenglao

🏠
Working from home
View GitHub Profile
@springcoil
springcoil / pymc3_normalizing_flows.ipynb
Created December 16, 2016 23:11
Pymc3 normalizing flows WIP
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bwengals
bwengals / gp_poisson.ipynb
Created March 19, 2017 10:13
poisson gp regression of old faithful histogram data fitted with pymc3
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AustinRochford
AustinRochford / pymc3_bsplines.ipynb
Last active September 15, 2022 21:08
PyMC3 BSplines
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AustinRochford
AustinRochford / pydata-nyc-2017-nba-fouls-python.ipynb
Last active December 22, 2017 16:22
PyData NYC 2017 Understanding NBA Foul Calls with Python
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tupui
tupui / halton.py
Last active October 9, 2022 12:20
Halton Sequence in python
"""Halton low discrepancy sequence.
This snippet implements the Halton sequence following the generalization of
a sequence of *Van der Corput* in n-dimensions.
---------------------------
MIT License
Copyright (c) 2017 Pamphile Tupui ROY
"""Sampling parameters of a lorenz attractor.
The forward pass integrates the lorenz attractor ODE system using
tt.scan with a Runge-Kutta integrator. The predicted high-resolution
timecourse is interpolated down so it can be compared to low-density
observations.
"""
import abc
import numpy
import pymc3
@aseyboldt
aseyboldt / sensitivity.ipynb
Last active January 18, 2018 11:47
A *very* basic and possibly wrong implementation of https://github.com/rgiordan/StanSensitivity in pymc3
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AustinRochford
AustinRochford / boston-bayesians-2017-bayes-bandits.ipynb
Last active October 16, 2019 08:41
Boston Bayesians 2017 - Two Years of Bayesian Bandits for E-Commerce
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bwengals
bwengals / DTC_latent.ipynb
Created April 3, 2018 01:56
DTC for latent GP, non-normal likelihoods
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.