Coder Social home page Coder Social logo

vmm's Introduction

VMM

Code for reproducing experiments for paper "The Variational Method of Moments" (https://arxiv.org/abs/2012.09422).

Estimation or experiments can be run by executing "run_experiments_TYPE.py", where TYPE is "estimation" or "inference" respectively.

Default directories for saving results for both kinds of experiments can be changed by editing the value of "save_dir" at the top of the respective "run_exepriments_TYPE.py" script.

Details of what methods and hyperparameters to use for the experiments can be changed by editing the experiments configuration files within the "experiment_setups" directory (this includes for example the option of running experiments in parallel using multiple processes by changing the value of "num_procs" to something greater than one.) In addition, you can change which estimation or inference experiments to run by editing the value of "setup_list" at the top of the respective "run_experiments_TYPE.py" script.

Results from experiment(s) will be stored within JSON files created upon experiment completion, in the respective save directory. The results files contain 3 keys:

  • "aggregate_results": contains aggregate statistics from the experiments, including all numbers presented in the results tables within the paper and supplement.
  • "results": contains detailed individual results for each experiment replication (from which different aggregate statistics or plots could be created without re-running experiments.)
  • "setup": a summary of the setup configuration used for the corresponding experiment.

Experiments were run using Python 3.8.5. Versions of libraries used are summarized in the included "requirements.txt" file.

vmm's People

Contributors

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