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

Metadata

Release files for hbayesdm 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hbayesdm 1.1.1
File Size Uploaded
hbayesdm-1.1.1.tar.gz 387.7 kB Details

Release files / hbayesdm-1.1.1.tar.gz

Download URL hbayesdm-1.1.1.tar.gz
Size 387.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e3d69b347d66b0d4630230fc42f4ef39496883af499ec893eac9ab3041c67f2a
BLAKE2b-256 checksum
How to use checksums
875ab6bfbe89088bfa4f5a8690f15f57071b5c34f576d492b10eedd31b355774
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.1.1 This release

1 release file

1.1.0

1 release file

1.0.1

2 release files

1.0.0

2 release 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