Skip to main content

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.

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},
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hbayesdm-1.0.0.tar.gz (375.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hbayesdm-1.0.0-py3-none-any.whl (583.3 kB view details)

Uploaded Python 3

File details

Details for the file hbayesdm-1.0.0.tar.gz.

File metadata

  • Download URL: hbayesdm-1.0.0.tar.gz
  • Upload date:
  • Size: 375.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4

File hashes

Hashes for hbayesdm-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7f9bc5159799a71801feb344a12813545cf8dc7224b3ee5d8511f85451318018
MD5 ccfd976eb2c63117893034ffc4c4ef7c
BLAKE2b-256 9c010872f1f8fee572c3b5e9baf55fffb934ec4f36f4e41ff5d63f03d3311ac2

See more details on using hashes here.

File details

Details for the file hbayesdm-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: hbayesdm-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 583.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4

File hashes

Hashes for hbayesdm-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eef6dac7168988c0d8284860ff28300ef654d15b8e6573dd0339b0843c5af443
MD5 5551bd129077e89444269ab4042df239
BLAKE2b-256 9114942c81bb69272e24059ceb78696985760033b8a7615f333008d4ab9a7e5c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page