blei-lab / edward
A probabilistic programming language in TensorFlow. Deep generative models, variational inference.
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing blei-lab/edward in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewEdward is a Python library for probabilistic modeling, inference, and criticism. It is a testbed for fast experimentation and research with probabilistic models, ranging from classical hierarchical models on small data sets to complex deep probabilistic models on large data sets. Edward fuses three fields: Bayesian statistics and machine learning, deep learning, and probabilistic programming. It supports __modeling__ with • Directed graphical models • Neural networks (via libraries such as and Keras) • Implicit generative models • Bayesian nonparametrics and probabilistic programs It supports __inference__ with • Variational inference • Black box variational inference • Stochastic variational inference • Generative adversarial networks • Maximum a posteriori estimation • Monte Carlo • Gibbs sampling • Hamiltonian Monte Carlo • Stochastic gradient Langevin dynamics • Compositions of inference • Expectation-Maximization • Pseudo-marginal and ABC methods • Message passing algorithms It supports __criticism__ of the model and inference with • Point-based evaluations • Posterior predictive checks Edward is built on top of TensorFlow. It enables features such as computational graphs, distributed training, CPU/GPU integration, automatic differentiation, and visualization with TensorBoard. Resources • Edward website • Edward Forum • Edward Gitter channel • Edward releases • Edward papers, posters, and slides See Getting Started for how to install Edward.