Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HGF] Add _namep.m for hgf_binary_mab #245

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

filippoferrari
Copy link

@filippoferrari filippoferrari commented Sep 13, 2023

The _namep file is missing for the hgf_binary_mab model and, because of this, tapas_simModel.m fails when run at line 149.
tapas_hgf_binary_mab_namep.m is a copy of tapas_hgf_binary_namep.m.

EDIT 05/10/23
Also fix inputs handling to be consistent with the AR1 model. Inputs to tapas_simModel are now
tapas_simModel([inputs responses], 'tapas_hgf_binary_mab', ....etc)

Filippo

hgf_binary_mab and hgf_ar1_binary_mab now handle inputs in the same way
when called using tapas_simModel by considering the last column of the
'u' input matrix as responses

The code is adapted from tapas_hgf_ar1_binary_mab.m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant