Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edudobay/bayes-binary-decision
Simulation of decision-making agents and analysis of results
https://github.com/edudobay/bayes-binary-decision
Last synced: about 2 months ago
JSON representation
Simulation of decision-making agents and analysis of results
- Host: GitHub
- URL: https://github.com/edudobay/bayes-binary-decision
- Owner: edudobay
- Created: 2014-03-16T23:53:06.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-08-27T10:53:20.000Z (over 10 years ago)
- Last Synced: 2023-08-03T18:02:22.041Z (over 1 year ago)
- Language: C++
- Size: 340 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
BayesDecider
============Simulation of decision-making bayesian agents; analysis (mainly graphs) of results.
The simulations themselves are done in a C++ program, which is wrapped inside a
Python extension module to ease running.Organisation
------------* `src/` — C++ library (build with SCons)
* `decider/` — Python utilities
* `pydecider.cpp` — Python extension module, links with C++ library (build via setup.py)Other files are currently obsolete but I haven't still taken the time to decide
what to do with them ;)Build recipe
------------### Requirements
* g++
* SCons for building the C++ library
* Python 3 (I use 3.4 but I'm not sure what the bare minimum is; I think it is 3.2)
* numpy for some data manipulation and analysis### Instructions
* Run `scons` to build the C++ library.
* Run `python setup.py install --user` to install the Python utilities (runners
and some data manipulation and analysis tools) at your local Python
repository (no need for `sudo`)
- You can also use `pip install --user .` to install via *pip* — you can later
uninstall using `pip uninstall BayesDecider`*Et voilà!* You can use it in any Python console; look for the `decider.runners` module.
```python
from decider.runners import *
simulate(...)
```