Releases: CCS-Lab/hBayesDM
Releases · CCS-Lab/hBayesDM
hBayesDM 1.3.1
- Add plot functions for Hierarchical Gaussian Filter models:
plot_hgf_ibrb,plot_hgf_ibrb_single.
hBayesDM 1.3.0
- Added a Hierarchical Gaussian Filter model for binary inputs and binary responses:
hgf_ibrbfor hierarchical Bayesian analysis andhgf_ibrb_singlefor individual Bayesian analysis. - Added new article: Hierarchical Bayesian Analysis on Hierarchical Gaussian Filter
hBayesDM 1.2.1
Fixed a pkgdown error.
hBayesDM 1.2.0
- Added a drift diffusion model and two reinforcement learning-drift diffision models for the probabilistic selection task:
pstRT_ddm,pstRT_rlddm1, andpstRT_rlddm6. - Added multiple models for the banditNarm task:
banditNarm_2par_lapse,banditNarm_4par,banditNarm_delta,banditNarm_kalman_filter,banditNarm_lapse,banditNarm_lapse_decay, andbanditNarm_singleA_lapse. - Fixed
bart_ewmvto avoid dividing by zero.
hBayesDM 1.1.1
- Fix the symlink error in the Python version due to releasing with poetry
- Fix minor errors in both R and Python
hBayesDM 1.1.0
- Added the cumulative model for the Cambridge gambling task:
cgt_cm. - Added two new models for aversive learning tasks:
alt_deltaandalt_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.
hBayesDM 1.0.2
- Fix an error on using data.frame objects as data (#112).
hBayesDM 1.0.1
- Minor fix on R and Python codes (R, #111).
hBayesDM 1.0.0
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
dataargument for model functions can handle a data.frame object (#2, #98). choiceRT_lbaandchoiceRT_lba_singleare 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
tauparameter in all models for the risk aversion task is modified to
be bounded to [0, 30] (#77, #78). bart_4paris fixed to compute subject-wise log-likelihood (#82).extract_icis fixed for its wrongrepfunction usage (#94, #100).- The drift rate (
deltaparameter) inchoiceRT_ddmandchoiceRT_ddm_singleis
unbounded and now it is estimated between [-Inf, Inf] (#95, #107). - Fix a preprocessing error in
choiceRT_ddmandchoiceRT_ddm_single(#95, #109). - Fix
igt_orlfor a wrong Matt trick operation (#110).
hBayesDM 0.7.2
- Add three new models for the bandit4arm task:
bandit4arm_2par_lapse,
bandit4arm_lapse_decayandbandit4arm_singleA_lapse. - Fix various (minor) errors.