Skip to content

Instantly share code, notes, and snippets.

View DanielWeitzenfeld's full-sized avatar

Dan DanielWeitzenfeld

View GitHub Profile
@DanielWeitzenfeld
DanielWeitzenfeld / ordinal_pymc3.py
Created December 3, 2016 22:39
Ordinal model in pymc3
import pymc3 as pm
import numpy as np
import theano.tensor as T
from theano.compile.ops import as_op
from scipy.stats import norm
# trying to implement a model similar to the one in Doing Bayesian Data Analysis 23.4
# ordinal predicted variable, metric predictor
# generate fake likert-scale data, as generated by 50 different raters
@DanielWeitzenfeld
DanielWeitzenfeld / looker_annotation_coverage.py
Created July 24, 2015 16:05
Script to calculate annotation coverage on a LookML repo
import os
import sys
import yaml
import pandas as pd
# Generates CSVs with aggregate stats about your LookML:
# % of dimensions and measures that have descriptions
# % of dashboard elements with a note
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.
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.