A grammar of model analysis
Implementation of a grammar of model analysis (grama). See the documentation for more info.
Grama is a grammar of model analysis---a domain-specific language embedded in Python that supports building and analyzing models with quantified uncertainties. This language is heavily inspired by the Tidyverse. Grama provides convenient syntax for building a model (with functions and distributions), generating data, and visualizing results. The purpose of this language is to support scientists and engineers learning to handle uncertainty, and to improve documentation + reproducibility of results.
For a manual install clone this repo, change directories and run the following to install dependencies. (Note: I recommend Anaconda as a Python distribution; it takes care of most of the dependencies.)
$ git clone email@example.com:zdelrosario/py_grama.git $ cd py_grama/ $ pip install -r requirements.txt $ pip install . # Check install $ python > import grama
py_grama has tools for both building and analyzing models. For a quick look at functionality, see the following notebooks:
The tutorials page has educational materials for learning to work with
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size py_grama-0.1.0.tar.gz (34.1 kB)||File type Source||Python version None||Upload date||Hashes View hashes|