Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abdulfatir/sampling-methods-numpy

This repository contains implementations of some basic sampling methods in numpy.
https://github.com/abdulfatir/sampling-methods-numpy

ipython-notebook metropolis-hastings monte-carlo monte-carlo-methods numpy python

Last synced: about 1 month ago
JSON representation

This repository contains implementations of some basic sampling methods in numpy.

Awesome Lists containing this project

README

        

# Sampling Methods in Numpy

This repository contains code for some basic sampling methods implemented using numpy.

The following methods are implemented with examples

* Importance Sampling (Univariate example)
* Rejection Sampling (Univariate example)
* Metropolis-Hastings (Univariate and Multivariate example)
* Gibbs Sampling (Multivariate example)
* Langevin Monte Carlo
* Unadjusted Langevin Algorithm (ULA) - Pytorch
* Metropolis-adjusted Langevin Algorithm (MALA) - Pytorch
* Inverse Transform Sampling
* Cauchy Distribution
* Exponential Distribution
* Gumbel Distribution