Skip to content

davidrichards/bayeslite

 
 

Repository files navigation

Bayeslite

Bayeslite is a BQL database built on SQLite3. BQL is an extension to SQL that supports queries about the probable implications of data.

Bayeslite is part of an ongoing research project. For more information, contact bayesdb@mit.edu.

Dependencies

Bayeslite is written in Python 2.7, using the sqlite3 module with SQLite3 >=3.7.17.

Bayeslite depends on:

  • Crosscat, a general-purpose nonparametric Bayesian population model which serves as a default in the absence of a domain-specific model.
  • numpy, a library of vectorized numerical algorithms
  • requests, an HTTP/HTTPS library, which we use to track users.

The bayeslite automatic tests depend on:

The bayeslite documentation depends on:

Test

To check that everything will work, before installing:

$ ./check.sh

Install

To install system-wide, or into the current virtual environment:

$ python setup.py build
$ python setup.py install

Use

Import the bayeslite module. See the documentation for details on the Python API.

Documentation

To build the documentation (requires sphinx):

$ make doc

The result will be placed in build/doc, with one subdirectory per output format.

To build only one output format, e.g. HTML because you don't want to install TeX:

$ make html

About

BayesDB on SQLite. A Bayesian database table for querying the probable implications of data as easily as SQL databases query the data itself.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.6%
  • Yacc 2.9%
  • Other 0.5%