bayeslite: A probabilistic database built on SQLite 3¶
Bayeslite is a probabilistic database built on SQLite 3. In addition to SQL queries on conventional SQL tables, it supports probabilistic BQL queries on generative models for data in a table.
Quick start for querying a pre-analyzed database:
import bayeslite
bdb = bayeslite.bayesdb_open("foo.bdb")
cursor = bdb.execute("SOME BQL QUERY")
...
- Bayeslite API reference
- BQL: Bayesian Query Language
- Bayeslite API internals
bayeslite.compiler
: BQL-to-SQL query compilerbayeslite.bql
: BQL query and command executionbayeslite.core
: BayesDB object modelbayeslite.parse
: BQL parserbayeslite.sqlite3_util
: SQLite 3 utilitiesbayeslite.stats
: Statistics utilitiesbayeslite.math_util
: Math utilitiesbayeslite.util
: Miscellaneous utilities
If you would like to analyze your own data with BayesDB, please contact bayesdb@mit.edu to participate in our research project.