Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.1.1a1.tar.gz (387.8 kB view details)

Uploaded Source

File details

Details for the file hbayesdm-1.1.1a1.tar.gz.

File metadata

  • Download URL: hbayesdm-1.1.1a1.tar.gz
  • Upload date:
  • Size: 387.8 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

Hashes for hbayesdm-1.1.1a1.tar.gz
Algorithm Hash digest
SHA256 106d17959fc3e7e336014e4c9df9aaa0eb1862cd424b1678fa4d676fd640fd86
MD5 48011c33a8193ebb283dd4881a0102d2
BLAKE2b-256 562a7626295c6910b84b6ce8d3eb51b427f9d4d9e98c2dd3d4f8a474baf23a62

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