Code Monkey home page Code Monkey logo

evaluating-variational-inference's Introduction

R code for "Yes, but Did It Work: Evaluating Variational Inference"

The paper has been accepted by ICML 2018. Preprint

The R_code folder contains source code for Figure 1-8 in the paper, where we experimentally illustrates the benefits of proposed diagnoistics.

Abstract

While it’s always possible to compute a variational approximation to a posterior distribution,it’s difficult to work out when this approximation is good. We propose two diagnostic algorithms to alleviate this problem. The Pareto-smoothed importance sampling (PSIS) diagnostic gives a goodness of fit measurement for joint distributions through the shape parameter in the fitted distribution of density ratios. It shrinks the variational estimation error at the same time. The variational simulation-based calibration (VSBC) assesses the average performance of point estimates.

Authors

  • Yuling Yao
  • Aki Vehtari
  • Daniel Simpson
  • Andrew Gelman

License

This project is licensed under the MIT License - see the LICENSE.md file for details

evaluating-variational-inference's People

Contributors

avehtari avatar yao-yl avatar

Watchers

 avatar  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.