Skip to content

Instantly share code, notes, and snippets.

View adiehl96's full-sized avatar

Arne Diehl adiehl96

View GitHub Profile
@adiehl96
adiehl96 / EllipticalSliceSamplingNumpy.py
Last active May 17, 2022 10:46
A gist describing the Elliptical Slice Sampling Python implementation by VikingPenguin on YouTube.
import numpy as np
import matplotlib.pyplot as plt
from scipy.stats import norm
np.random.seed(8)
class EllipticalSliceSampler:
"""Elliptical Slice Sampler Class
The elliptical slice sampling algorithm is a Markov chain Monte Carlo
import Ember from 'ember';
import Timesheet from '../models/timesheet';
import Receipt from '../models/receipt';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
Receipt: Receipt.create(),
Timesheet: Timesheet.create(),
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});