HBayesDM Versions Save

Hierarchical Bayesian modeling of RLDM tasks, using R & Python

v1.2.1

1 year ago

Fixed a pkgdown error.

v1.2.0

1 year ago
  • Added a drift diffusion model and two reinforcement learning-drift diffision models for the probabilistic selection task: pstRT_ddm, pstRT_rlddm1, and pstRT_rlddm6.
  • Added multiple models for the banditNarm task: banditNarm_2par_lapse, banditNarm_4par, banditNarm_delta, banditNarm_kalman_filter, banditNarm_lapse, banditNarm_lapse_decay, and banditNarm_singleA_lapse.
  • Fixed bart_ewmv to avoid dividing by zero.

v1.1.1

3 years ago
  • Fix the symlink error in the Python version due to releasing with poetry
  • Fix minor errors in both R and Python

v1.1.0

3 years ago
  • Added the cumulative model for the Cambridge gambling task: cgt_cm.
  • Added two new models for aversive learning tasks: alt_delta and alt_gamma.
  • Added exponential-weight mean-variance model for BART task: bart_ewmv.
  • Added simple Q learning model for the probabilistic selection task: prl_Q.
  • Added signal detection theory model for 2-alternative forced choice task: task2AFC_sdt.

v1.0.2

4 years ago
  • Fix an error on using data.frame objects as data (#112).

v1.0.1

4 years ago
  • Minor fix on R and Python codes (R, #111).

v1.0.0

4 years ago

Major changes

  • Now, hBayesDM has both R and Python version, with same models included! You can run hBayesDM with a language you prefer!
  • Models in hBayesDM are now specified as YAML files. Using the YAML files, R and Python codes are generated automatically. If you want to contribute hBayesDM by adding a model, what you have to do is just to write a Stan file and to specify its information! You can find how to do in the hBayesDM wiki (https://github.com/CCS-Lab/hBayesDM/wiki).
  • Model functions try to use parameter estimates using variational Bayesian methods as its initial values for MCMC sampling by default (#96). If VB estimation fails, then it uses random values instead.
  • The data argument for model functions can handle a data.frame object (#2, #98).
  • choiceRT_lba and choiceRT_lba_single are temporarily removed since their codes are not suitable to the new package structure. We plan to re-add the models in future versions.
  • The Cumulative Model for Cambridge Gambling Task is added (cgt_cm; #108).

Minor changes

  • The tau parameter in all models for the risk aversion task is modified to be bounded to [0, 30] (#77, #78).
  • bart_4par is fixed to compute subject-wise log-likelihood (#82).
  • extract_ic is fixed for its wrong rep function usage (#94, #100).
  • The drift rate (delta parameter) in choiceRT_ddm and choiceRT_ddm_single is unbounded and now it is estimated between [-Inf, Inf] (#95, #107).
  • Fix a preprocessing error in choiceRT_ddm and choiceRT_ddm_single (#95, #109).
  • Fix igt_orl for a wrong Matt trick operation (#110).

v0.7.2

5 years ago
  • Add three new models for the bandit4arm task: bandit4arm_2par_lapse, bandit4arm_lapse_decay and bandit4arm_singleA_lapse.
  • Fix various (minor) errors.

v0.7.1

5 years ago
  • Make it usable without manually loading rstan.
  • Remove an annoying warning about using ..insensitive_data_columns.

v0.7.0

5 years ago
  • Now, in default, you should build a Stan file into a binary for the first time to use it. To build all the models on installation, you should set an environmental variable BUILD_ALL to true before installation.
  • Now all the implemented models are refactored using hBayesDM_model function. You don't have to change anything to use them, but developers can easily implement new model now!
  • We added a Kalman filter model for 4-armed bandit task (bandit4arm2_kalman_filter; Daw et al., 2006) and a probability weighting function for general description-based tasks (dbdm_prob_weight; Erev et al., 2010; Hertwig et al., 2004; Jessup et al., 2008).
  • Initial values of parameter estimation for some models are updated as plausible values, and the parameter boundaries of several models are fixed (see more on issue #63 and #64 in Github).
  • Exponential and linear models for choice under risk and ambiguity task now have four model regressors: sv, sv_fix, sv_var, and p_var.
  • Fix the Travix CI settings and related codes to be properly passed.