Giter VIP home page Giter VIP logo

variationalgaussiancopula's Introduction

Variational Gaussian Copula Inference

We use Gaussian copulas (combined with fixed/free-form margins) as automated inference engines for variational approximation in generic hierarchical Bayesian models (the only two model-specific terms are the log likelihood & prior term and its derivatives). We evaluate the peculiarities reproduced in the univariate margins and the posterior dependence captured broadly across latent variables.

Matlab code for the paper

Shaobo Han, Xuejun Liao, David B. Dunson, and Lawrence Carin, "Variational Gaussian Copula Inference", The 19th International Conference on Artificial Intelligence and Statistics (AISTATS 2016), Cadiz, Spain, May, 2016

Examples

Demo 1: Marginal Adaptation (Skew normal, Student's t, Beta, Gamma)

>> demo_SkewNormal
>> demo_StudentT
>> demo_Gamma
>> demo_Beta

The accuracy of marginal approximation for real, positive real, and truncated [0,1] variables is shown as follows,


Demo 2: Bivariate Log-Normal

>> demo_BivariateLN

We approximate bivariate log-normal distributions using a bivariate Gaussian copula with (1) fixed-form log-normal distributed margins (2) free-form Bernstein polynomial based margins,


Demo 3: Horseshoe Shrinkage

Baseline comparisons include:

  • Gibbs sampler
  • Mean-field VB
  • VGC-LN-full: Gaussian copula with log-normal margins
  • VGC-LN-diag: Independence copula with Log-normal margins
  • VGC-BP-full: Gaussian copula with Bernstein polynomial margins
>> demo_Horseshoe


Demo 4: Poisson Log-Linear Regression

MCMC sampler is implemented in JAGS:

>> demo_JAGS_PoissonLogLinear

Variational Gaussian copula (VGC) inference:

>> demo_VGC_PoissonLogLinear

The univaraite margins and pairwise posteriors (JAGS v.s. VGC-BP) are shown below:


Citations

If you find this code helpful, please cite the work using the following information:

@inproceedings{VGC_2016,
  title={Variational Gaussian Copula Inference},
  author={Shaobo Han and Xuejun Liao and David B. Dunson and Lawrence Carin},
  booktitle={The 19th International Conference on Artificial Intelligence and Statistics (AISTATS)},
  year={2016},
}

variationalgaussiancopula's People

Contributors

shaobohan avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.