A language for mental models
Project description
memo
memo is a new probabilistic programming language for expressing computational cognitive models involving sophisticated recursive reasoning, and for performing fast enumerative inference on such models. memo inherits from the tradition of WebPPL-based Bayesian modeling (see probmods, agentmodels, and problang), but aims to make models easier to write and run by taking advantage of modern programming language techniques and hardware capabilities.
Installing memo
- memo is based on Python. Before installing memo, make sure you have Python 3.12 or higher installed. You can check this by running
python --version
. - Next, install JAX, a Python module that memo uses to produce fast, differentiable, GPU-enabled code. If you don't have a GPU, then running
pip install jax
should be enough. Otherwise, please consult the JAX website for installation instructions. You can check if JAX is installed by runningimport jax
in Python. - Finally, install memo by running
pip install TBD
. You can check if memo is installed by runningimport memo
in Python.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
memo_lang-0.1.1.tar.gz
(12.2 kB
view hashes)
Built Distribution
memo_lang-0.1.1-py3-none-any.whl
(12.0 kB
view hashes)
Close
Hashes for memo_lang-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bca81e13ee2548c354997e5e40bfc02ab812b5be5b9e9645609a95c85e04b19 |
|
MD5 | 7f4dcc16ae516013c0573914ab662617 |
|
BLAKE2b-256 | 5ed74a84827a047b1d5a879cda43bd47ae0f1ded9179defe3276963985de03c2 |