• Stars
    star
    241
  • Rank 167,643 (Top 4 %)
  • Language
    Python
  • License
    BSD 3-Clause "New...
  • Created almost 8 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Collection of probabilistic models and inference algorithms

Probabilistic Models

Collection of examples of various probabilistic models and inference algorithms.

Dependencies

  1. Python 3
  2. Numpy
  3. Matplotlib

List of Models/Algorithms

Bayesian Inference

  1. Bayesian Linear Regression
  2. Gaussian Mixture Model (GMM) with:
    1. Gibbs Sampler
    2. Mean-field Variational Inference
  3. LDA with:
    1. Gibbs Sampler
    2. Collapsed Gibbs Sampler
    3. Mean-field Variational Inference
  4. Bayesian Dark Knowledge (SGLD + Distillation)

Bayesian Non-parametric

  1. Gaussian Process Regression
  2. GMM with CRP prior for Infinite Mixture Model
  3. Generative stories:
    1. Chinese Restaurant Process (CRP)
    2. Stick Breaking Construction
    3. Indian Buffet Process (IBP)

Others (MLE)

  1. Probabilistic Linear Regression
  2. Mixture of Linear Regression with EM
  3. GMM with EM

More Repositories

1

generative-models

Collection of generative models, e.g. GAN, VAE in Pytorch and Tensorflow.
Python
7,304
star
2

MCMC

Collection of Monte Carlo (MC) and Markov Chain Monte Carlo (MCMC) algorithms applied on simple examples.
Python
356
star
3

hipsternet

All the hipster things in Neural Net in a single repo
Python
287
star
4

controlled-text-generation

Reproducing Hu, et. al., ICML 2017's "Toward Controlled Generation of Text"
Python
241
star
5

natural-gradients

Collection of algorithms for approximating Fisher Information Matrix for Natural Gradient (and second order method in general)
Python
135
star
6

last_layer_laplace

Last-layer Laplace approximation code examples
Jupyter Notebook
78
star
7

cnn-levelset

Source code for Kristiadi and Pranowo, 2017's "Deep Convolutional Level Set Method for Image Segmentation"
Python
59
star
8

pub-ready-plots

Agustinus' very opiniated publication-ready plotting library
Python
50
star
9

wiseodd.github.io

Agustinusβ€˜ personal website and blog
MDX
39
star
10

lula

Companion code for the paper "Learnable Uncertainty under Laplace Approximations" (UAI 2021).
Python
18
star
11

compound-density-networks

Implementation of: Kristiadi, Agustinus, and Asja Fischer. "Predictive Uncertainty Quantification with Compound Density Networks." (2019).
Python
15
star
12

lapeft-bayesopt

Discrete Bayesian optimization with LLMs, PEFT finetuning methods, and the Laplace approximation.
Python
14
star
13

cuda-pso

Comparison between CUDA and CPU for PSO using 3-dimensional Levy function as test case
C++
13
star
14

bayesian_ood_training

Jupyter Notebook
9
star
15

swarm-image-segmenter

Image segmentation using swarm intelligence, accelerated using GPGPU (CUDA)
C++
7
star
16

laplace-bayesopt

Laplace approximated BNN surrogate for BoTorch
Python
7
star
17

phd_thesis_template

TeX
4
star
18

rgpr

Companion code for the paper "An Infinite-Feature Extension for Bayesian ReLU Nets That Fixes Their Asymptotic Overconfidence" (NeurIPS 2021)
Python
4
star
19

two-funds-rebalancer

Given your current portfolio value, desired allocation after rebalancing, and the amount of cash you have, this script will output how much of your cash should be used to buy stock/bonds (in percent). Only works for portfolios with two funds, e.g. the Couch Potato and classic two-funds 60-40 portfolios.
Python
2
star
20

llm-bayesopt-exps

Official experiment code for the "Sober Look at LLMs for Material Discovery" paper.
Python
1
star
21

bo-async-feedback

Python
1
star