All Projects → probcomp → cgpm

probcomp / cgpm

Licence: Apache-2.0 license
Library of composable generative population models which serve as the modeling and inference backend of BayesDB.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to cgpm

Deeptables
DeepTables: Deep-learning Toolkit for Tabular data
Stars: ✭ 207 (+762.5%)
Mutual labels:  tabular-data
nestle
Pure Python, MIT-licensed implementation of nested sampling algorithms for evaluating Bayesian evidence.
Stars: ✭ 66 (+175%)
Mutual labels:  bayesian-inference
SCICoNE
Single-cell copy number calling and event history reconstruction.
Stars: ✭ 20 (-16.67%)
Mutual labels:  bayesian-inference
Miller
Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON
Stars: ✭ 4,633 (+19204.17%)
Mutual labels:  tabular-data
approxposterior
A Python package for approximate Bayesian inference and optimization using Gaussian processes
Stars: ✭ 36 (+50%)
Mutual labels:  bayesian-inference
variational-bayes-cs
Scalable sparse Bayesian learning for large CS recovery problems
Stars: ✭ 17 (-29.17%)
Mutual labels:  bayesian-inference
Mirador
Tool for visual exploration of complex data.
Stars: ✭ 186 (+675%)
Mutual labels:  tabular-data
metaBMA
Bayesian Model Averaging for Random and Fixed Effects Meta-Analysis
Stars: ✭ 20 (-16.67%)
Mutual labels:  bayesian-inference
pysgmcmc
Bayesian Deep Learning with Stochastic Gradient MCMC Methods
Stars: ✭ 31 (+29.17%)
Mutual labels:  bayesian-inference
svae cf
[ WSDM '19 ] Sequential Variational Autoencoders for Collaborative Filtering
Stars: ✭ 38 (+58.33%)
Mutual labels:  bayesian-inference
statsr
Companion package for the Coursera Statistics with R specialization
Stars: ✭ 67 (+179.17%)
Mutual labels:  bayesian-inference
flowtorch-old
Separating Normalizing Flows code from Pyro and improving API
Stars: ✭ 36 (+50%)
Mutual labels:  bayesian-inference
tramp
Tree Approximate Message Passing
Stars: ✭ 30 (+25%)
Mutual labels:  bayesian-inference
Npm Pdfreader
🚜 Read text and parse tables from PDF files.
Stars: ✭ 225 (+837.5%)
Mutual labels:  tabular-data
PyRate
PyRate is a program to estimate speciation, extinction, and preservation rates from fossil occurrence data using a Bayesian framework.
Stars: ✭ 58 (+141.67%)
Mutual labels:  bayesian-inference
Tad
A desktop application for viewing and analyzing tabular data
Stars: ✭ 2,275 (+9379.17%)
Mutual labels:  tabular-data
AI4Water
framework for developing machine (and deep) learning models for structured data
Stars: ✭ 35 (+45.83%)
Mutual labels:  tabular-data
statrethink course in pymc3
Statistical Rethinking course in pymc3
Stars: ✭ 141 (+487.5%)
Mutual labels:  bayesian-inference
PyCBC-Tutorials
Learn how to use PyCBC to analyze gravitational-wave data and do parameter inference.
Stars: ✭ 91 (+279.17%)
Mutual labels:  bayesian-inference
datapackage-m
Power Query M functions for working with Tabular Data Packages (Frictionless Data) in Power BI and Excel
Stars: ✭ 26 (+8.33%)
Mutual labels:  tabular-data

cgpm

Build Status

The aim of this project is to provide a unified probabilistic programming framework to express different models and techniques from statistics, machine learning and non-parametric Bayes. It serves as the primary modeling and inference runtime system for bayeslite, an open-source implementation of BayesDB.

Composable generative population models (CGPM) are a computational abstraction for probabilistic objects. They provide an interface that explicitly differentiates between the sampler of a random variable from its conditional distribution and the assessor of its conditional density. By encapsulating models as probabilistic programs that implement CGPMs, complex models can be built as compositions of sub-CGPMs, and queried in a model-independent way using the Bayesian Query Language.

Installing

Conda

The easiest way to install cgpm is to use the package on Anaconda Cloud. Please follow these instructions.

Manual Build

cgpm targets Ubuntu 14.04 and 16.04. The package can be installed by cloning this repository and following these instructions. It is highly recommended to install cgpm inside of a virtualenv which was created using the --system-site-packages flag.

  1. Install dependencies from apt, listed here.

  2. Retrieve and build the source.

    % git clone [email protected]:probcomp/cgpm
    % cd cgpm
    % pip install --no-deps .
    
  3. Verify the installation.

    % python -c 'import cgpm'
    % cd cgpm && ./check.sh
    

Publications

CGPMs, and their integration as a runtime system for BayesDB, are described in the following technical report:

Applications of using cgpm and bayeslite for data analysis tasks can be further found in:

Tests

Running ./check.sh will run a subset of the tests that are considered complete and stable. To launch the full test suite, including continuous integration tests, run py.test in the root directory. There are more tests in the tests/ directory, but those that do not start with test_ or do start with disabled_ are not considered ready. The tip of every branch merged into master must pass ./check.sh, and be consistent with the code conventions outlined in HACKING.

To run the full test suite, use ./check.sh --integration tests/. Note that the full integration test suite requires installing the C++ crosscat backend.

License

Copyright (c) 2015-2016 MIT Probabilistic Computing Project

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].