Coder Social home page Coder Social logo

gsong-math / pygauss Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mvono/pygauss

0.0 0.0 0.0 14.57 MB

Companion package of the review paper entitled 'High-dimensional Gaussian sampling: A review and a unifying approach based on a stochastic proximal point algorithm' by Maxime Vono et al.

License: MIT License

Python 1.98% Jupyter Notebook 98.02%

pygauss's Introduction

PyGauss: High-dimensional Gaussian sampling with Python

Introduction

Efficient sampling from a high-dimensional Gaussian distribution is an old but high-stake issue. In past years, multiple methods have been proposed from different communities to tackle this difficult sampling task ranging from iterative numerical linear algebra to Markov chain Monte Carlo (MCMC) approaches. PyGauss is a Python library that puts together all exact and approximate sampling algorithms for high-dimensional Gaussian sampling. It stands for the companion package of the review paper entitled High-dimensional Gaussian sampling: A review and a unifying approach based on a stochastic proximal point algorithm, accepted for publication in SIAM Review and publicly available on arXiv. The published version can be found here.

How to cite this work

If you use the PyGauss toolbox, please consider citing it with this piece of BibTeX:

@article{Vono_SIREV_2022,
author = {Maxime Vono and Nicolas Dobigeon and Pierre Chainais},
title = {High-Dimensional Gaussian Sampling: A Review and a Unifying Approach Based on a Stochastic Proximal Point Algorithm},
year = {2022},
journal = {SIAM Review},
volume = 64,
number = 1,
pages = {3-56},
doi = {https://doi.org/10.1137/20M1371026}
}

Installation

PyGauss works with Python 3.6+.

Dependencies

This project depends on the following libraries and modules:

The following dependencies are optional, and unlock extra functionality if installed:

  • Sphinx to modify and rebuild the documentation

Installation instructions

  1. If you have a GitHub account please consider forking PyGauss and use git to clone your copy of the repository

    cd <directory_of_your_choice>
    git clone https://github.com/<username>/PyGauss.git
  2. If you only use git, clone this repository

    cd <directory_of_your_choice>
    git clone https://github.com/mvono/PyGauss.git
  3. Otherwise simply download the project

  4. In any case, install the project with

    cd PyGauss
    pip install .

How to use it

The main PyGauss documentation is available online at http://pygauss-gaussian-sampling.readthedocs.io. You can also find examples using PyGauss in the Jupyter notebook reproducing the results of the companion paper at https://github.com/mvono/PyGauss/notebooks/.

Building the documentation

The documentation is generated locally with Sphinx and then built online by ReadTheDocs. If you wish to contribute to the documentation or just play with it locally, you can install the necessary dependencies and then:

  • Generate the docs locally

    cd PyGauss/docs
    make html
  • Open the local HTML version of the documentation located at PyGauss/docs/build/html/index.html

    open build/html/index.html

pygauss's People

Contributors

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