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.1a3.tar.gz (387.7 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.1.1a3-py3.8.egg (866.8 kB view details)

Uploaded Egg

File details

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

File metadata

  • Download URL: hbayesdm-1.1.1a3.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

Hashes for hbayesdm-1.1.1a3.tar.gz
Algorithm Hash digest
SHA256 42f9781bb22f949a6eef879b769d54158f4bae083e99f9631aba5086b20c6113
MD5 bc49ed47751d428e20c4c1b3cbaf5546
BLAKE2b-256 bd5a7d29617dad7a8d3879f0277bb845a890e502bb6cb02a98faa8aced7a2ebd

See more details on using hashes here.

File details

Details for the file hbayesdm-1.1.1a3-py3.8.egg.

File metadata

  • Download URL: hbayesdm-1.1.1a3-py3.8.egg
  • Upload date:
  • Size: 866.8 kB
  • Tags: Egg
  • 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.1a3-py3.8.egg
Algorithm Hash digest
SHA256 cafb21b610ca43836f87fbfc80884285da45cf400a3eed7662ecddf14529a4c9
MD5 4eb76440ca6cbe8446ddbcfb54cfa1b6
BLAKE2b-256 4fcb76e2405f5dd18744f8300a42617891b5c7975407042fef9296dbfceae66c

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