Skip to content

Instantly share code, notes, and snippets.

@stablemarkets
stablemarkets / corr_mod.stan
Last active April 27, 2020 16:59
Smoothed logistic growth with time-varying carrying capacity.
data {
int<lower=0> num_obs; // number of observations
real y[num_obs]; // Observed value
int time[num_obs]; // time
}
parameters {
//weakly uninformative priors, K on log base 10 scale
vector[100] log_K;
real<lower=0,upper=100> p0;
@abridgland
abridgland / gaussian-processes-1.ipynb
Last active August 24, 2025 14:36
A Jupyter notebook to accompany Intro to Gaussian Processes - Part I at http://bridg.land/posts/gaussian-processes-1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AustinRochford
AustinRochford / pymc3-fosscon2017.ipynb
Last active November 10, 2023 03:18
Open Source Bayesian Inference in Python with PyMC3
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kylemcdonald
kylemcdonald / 1m-analysis.ipynb
Created August 6, 2017 17:01
Histogram analysis of the 1 million song dataset.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@JimGrange
JimGrange / effect_sizes.R
Last active November 25, 2021 15:48
Low power = inaccurate effect size estimates
#------------------------------------------------------------------------------
rm(list = ls())
set.seed(50)
# function for generating random draws from multivariate distribution
# n = number of draws; p = number of variables
# u = mean of each variable; s = SD of each variable
# corMat = correlation matrix
mvrnorm <- function(n, p, u, s, corMat) {
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AustinRochford
AustinRochford / Density Estimation with Dirichlet Process Mixtures using PyMC3.ipynb
Last active July 14, 2017 12:53
Density Estimation with Dirichlet Process Mixtures using PyMC3
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@calstad
calstad / TDA_resources.md
Last active September 29, 2025 12:57
List of resources for TDA

Quick List of Resources for Topological Data Analysis with Emphasis on Machine Learning

This is just a quick list of resourses on TDA that I put together for @rickasaurus after he was asking for links to papers, books, etc on Twitter and is by no means an exhaustive list.

Survey Papers

Both Carlsson's and Ghrist's survey papers offer a very good introduction to the subject

Other Papers and Web Resources