Python interface for hBayesDM, hierarchical Bayesian modeling of RL-DM tasks
Project description
This is the Python version of hBayesDM (hierarchical Bayesian modeling of Decision-Making tasks), a user-friendly package that offers hierarchical Bayesian analysis of various computational models on an array of decision-making tasks. hBayesDM in Python uses PyStan (Python interface for Stan) for Bayesian inference.
It supports Python 3.5 or higher versions and requires several packages including: NumPy, SciPy, Pandas, PyStan, Matplotlib, and ArviZ.
Documentation: http://hbayesdm.readthedocs.io/
Installation
You can install hBayesDM from PyPI with the following line:
pip install hbayesdm # Install using pip
If you want to install from source (by cloning from GitHub):
git clone https://github.com/CCS-Lab/hBayesDM.git
cd hBayesDM
cd Python
python setup.py install # Install from source
Citation
If you used hBayesDM or some of its codes for your research, please cite this paper:
@article{hBayesDM,
title = {Revealing Neurocomputational Mechanisms of Reinforcement Learning and Decision-Making With the {hBayesDM} Package},
author = {Ahn, Woo-Young and Haines, Nathaniel and Zhang, Lei},
journal = {Computational Psychiatry},
year = {2017},
volume = {1},
pages = {24--57},
publisher = {MIT Press},
url = {doi:10.1162/CPSY_a_00002},
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file hbayesdm-1.1.1.tar.gz
.
File metadata
- Download URL: hbayesdm-1.1.1.tar.gz
- Upload date:
- Size: 387.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3d69b347d66b0d4630230fc42f4ef39496883af499ec893eac9ab3041c67f2a |
|
MD5 | 1a9557d1607362c66fe6f5d2b62c4f84 |
|
BLAKE2b-256 | 875ab6bfbe89088bfa4f5a8690f15f57071b5c34f576d492b10eedd31b355774 |