Skip to content

Instantly share code, notes, and snippets.

View DanielWeitzenfeld's full-sized avatar

Dan DanielWeitzenfeld

View GitHub Profile
@DanielWeitzenfeld
DanielWeitzenfeld / day_of_week_seasonality-v2.ipynb
Created January 21, 2023 16:51
GRW/Day-of-week seasonality in PyMC
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DanielWeitzenfeld
DanielWeitzenfeld / GRW_in_pymc3.ipynb
Created January 21, 2023 16:50
GRW in pymc3 with future prediction
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DanielWeitzenfeld
DanielWeitzenfeld / day_of_week_seasonality.ipynb
Created January 21, 2023 00:28
PyMC day of week seasonality
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DanielWeitzenfeld
DanielWeitzenfeld / ordinal_pymc3_DBDA23.2.2.py
Created December 5, 2016 14:31
functional implementation of ordinal predicted variable
import seaborn as sns
import pymc3 as pm
import numpy as np
from scipy.stats import norm
import pandas as pd
import theano.tensor as T
from theano.compile.ops import as_op
# Generate True data
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.
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.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DanielWeitzenfeld
DanielWeitzenfeld / extrapolating random walk.ipynb
Last active August 5, 2019 19:24
Using pymc3's automatic missing-inference to extrapolate a random walk
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.