zhusuan

所属分类:数值算法/人工智能
开发工具:Python
文件大小:589KB
下载次数:0
上传日期:2022-12-17 20:33:19
上 传 者sh-1993
说明:  zhusuan,用于贝叶斯深度学习的概率编程库,基于Tensorflow的生成模型
(zhusuan,A probabilistic programming library for Bayesian deep learning, generative models, based on Tensorflow)

文件列表:
.travis.yml (187, 2019-08-05)
CONTRIBUTING.md (1243, 2019-08-05)
LICENSE (1087, 2019-08-05)
docs (0, 2019-08-05)
docs\Makefile (873, 2019-08-05)
docs\_static (0, 2019-08-05)
docs\_static\css (0, 2019-08-05)
docs\_static\css\style.css (2412, 2019-08-05)
docs\_static\images (0, 2019-08-05)
docs\_static\images\bnn.png (35920, 2019-08-05)
docs\_static\images\index.png (92943, 2019-08-05)
docs\_static\images\lda.png (40230, 2019-08-05)
docs\_static\images\lntm.png (46551, 2019-08-05)
docs\_static\images\matrixmul.png (12206, 2019-08-05)
docs\_static\images\vae_mnist.png (27774, 2019-08-05)
docs\_static\images\zhusuan-logo-h.png (111693, 2019-08-05)
docs\_static\images\zhusuan-logo-h.svg (2645, 2019-08-05)
docs\_static\images\zhusuan-logo-v.png (111681, 2019-08-05)
docs\_static\images\zhusuan-logo-v.svg (2663, 2019-08-05)
docs\api (0, 2019-08-05)
docs\api\zhusuan.diagnostics.rst (144, 2019-08-05)
docs\api\zhusuan.distributions.rst (785, 2019-08-05)
docs\api\zhusuan.evaluation.rst (141, 2019-08-05)
docs\api\zhusuan.framework.rst (550, 2019-08-05)
docs\api\zhusuan.hmc.rst (120, 2019-08-05)
docs\api\zhusuan.legacy.rst (425, 2019-08-05)
docs\api\zhusuan.sgmcmc.rst (135, 2019-08-05)
docs\api\zhusuan.transform.rst (138, 2019-08-05)
docs\api\zhusuan.utils.rst (126, 2019-08-05)
docs\api\zhusuan.variational.rst (804, 2019-08-05)
docs\conf.py (5774, 2019-08-05)
docs\contributing.rst (1004, 2019-08-05)
docs\index.rst (2836, 2019-08-05)
docs\mathjax.py (2691, 2019-08-05)
docs\post_apidoc.py (1012, 2019-08-05)
docs\refs.bib (1523, 2019-08-05)
docs\requirements.txt (46, 2019-08-05)
... ...

--- [![Build Status](https://travis-ci.org/thu-ml/zhusuan.svg?branch=master)](https://travis-ci.org/thu-ml/zhusuan) [![Doc Status](https://readthedocs.org/projects/zhusuan/badge/?version=latest)](http://zhusuan.readthedocs.io/en/latest/?badge=latest) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/thu-ml/zhusuan/blob/master/LICENSE) [![Join the chat at https://gitter.im/thu-ml/zhusuan](https://badges.gitter.im/thu-ml/zhusuan.svg)](https://gitter.im/thu-ml/zhusuan?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) **ZhuSuan** is a Python probabilistic programming library for Bayesian deep learning, which conjoins the complimentary advantages of Bayesian methods and deep learning. ZhuSuan is built upon [TensorFlow](https://www.tensorflow.org). Unlike existing deep learning libraries, which are mainly designed for deterministic neural networks and supervised tasks, ZhuSuan provides deep learning style primitives and algorithms for building probabilistic models and applying Bayesian inference. The supported inference algorithms include: * **Variational Inference (VI)** with programmable variational posteriors, various objectives and advanced gradient estimators (SGVB, REINFORCE, VIMCO, etc.). * **Importance Sampling (IS)** for learning and evaluating models, with programmable proposals. * **Hamiltonian Monte Carlo (HMC)** with parallel chains, and optional automatic parameter tuning. * **Stochastic Gradient Markov Chain Monte Carlo (SGMCMC)**: SGLD, PSGLD, SGHMC, and SGNHT. ## Installation ZhuSuan is still under development. Before the first stable release (1.0), please clone the repository and run ``` pip install . ``` in the main directory. This will install ZhuSuan and its dependencies automatically. ZhuSuan also requires **TensorFlow 1.13.0 or later**. Because users should choose whether to install the cpu or gpu version of TensorFlow, we do not include it in the dependencies. See [Installing TensorFlow](https://www.tensorflow.org/install/). If you are developing ZhuSuan, you may want to install in an "editable" or "develop" mode. Please refer to the Contributing section below. ## Documentation * [Tutorials and API docs](http://zhusuan.readthedocs.io) * [ZhuSuan's white paper](https://arxiv.org/abs/1709.05870) ## Examples We provide examples on traditional hierarchical Bayesian models and recent deep generative models. To run the provided examples, you may need extra dependencies to be installed. This can be done by ``` pip install ".[examples]" ``` * Gaussian: [HMC](examples/toy_examples/gaussian.py) * Toy 2D Intractable Posterior: [SGVB](examples/toy_examples/toy2d_intractable.py) * Bayesian Neural Networks: [SGVB](examples/bayesian_neural_nets/bnn_vi.py), [SGMCMC](examples/bayesian_neural_nets/bnn_sgmcmc.py) * Variational Autoencoder (VAE): [SGVB](examples/variational_autoencoders/vae.py), [IWAE](examples/variational_autoencoders/iwae.py) * Convolutional VAE: [SGVB](examples/variational_autoencoders/vae_conv.py) * Semi-supervised VAE (Kingma, 2014): [SGVB](examples/semi_supervised_vae/vae_ssl.py), [Adaptive IS](examples/semi_supervised_vae/vae_ssl_adaptive_is.py) * Deep Sigmoid Belief Networks [Adaptive IS](examples/sigmoid_belief_nets/sbn_adaptive_is.py), [VIMCO](examples/sigmoid_belief_nets/sbn_vimco.py) * Logistic Normal Topic Model: [HMC](examples/topic_models/lntm_mcem.py) * Probabilistic Matrix Factorization: [HMC](examples/probabilistic_matrix_factorization/pmf_hmc.py) * Sparse Variational Gaussian Process: [SGVB](examples/gaussian_process/svgp.py) ## Citing ZhuSuan If you find ZhuSuan useful, please cite it in your publications. We provide a BibTeX entry of the ZhuSuan white paper below. ``` @ARTICLE{zhusuan2017, title={Zhu{S}uan: A Library for {B}ayesian Deep Learning}, author={Shi, Jiaxin and Chen, Jianfei. and Zhu, Jun and Sun, Shengyang and Luo, Yucen and Gu, Yihong and Zhou, Yuhao}, journal={arXiv preprint arXiv:1709.05870}, year=2017, } ``` ## Contributing We always welcome contributions to help make ZhuSuan better. If you would like to contribute, please check out the guidelines [here](CONTRIBUTING.md).

近期下载者

相关文件


收藏者