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.1.tar.gz (375.0 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.1-py3-none-any.whl (583.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hbayesdm-1.0.1.tar.gz
  • Upload date:
  • Size: 375.0 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.1.tar.gz
Algorithm Hash digest
SHA256 0dd4b9817e05ade7c536ae8c6aed9b56b273b7c14edfa9f01170a4c993335e11
MD5 715b338e2105d18d0fa3bad22861bd38
BLAKE2b-256 9e09ec01c07d1058157d995b454de7553fd4407b576a950bf031129b8d04e26b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hbayesdm-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 583.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4b6420ae48837658520601e1e467e6397c548bba5a67419a06d3c3c0eabce049
MD5 1d3175f2dc3f33a444a00bf492519385
BLAKE2b-256 229612316886a57a321edd2ed720d9eae8a47b2282a10331ac9bf2a6f384e114

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.1

1 file

1.1.0

1 file

This release

1.0.1 This release

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page