Replies: 2 comments
-
Hi @jainraj ,
Essentially, Thank you for pointing towards this, I think we should essentially disable Best, |
Beta Was this translation helpful? Give feedback.
-
Thank you @AlexanderFengler for the clear explanation. Could you let me also know if the method to get a point prediction for RT is correct? i.e., |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
I have a test dataset (i.e., not used for fitting) and would like to generate RT predictions (point estimates) for each sample. I thought to use
model.sample_posterior_predictive(idata, test_dataset, kind='mean')
(idata
was output offit()
) but it seems to generate a single value for both RT and choice - something likert,response_mean
- unsure what that is supposed to capture.Should I use
sample_posterior_predictive(idata, test_dataset, kind='pps')
and then average the first column (which is RT) across draws and chains for each test sample?HSSM version
0.2.0
To Reproduce
dataset_reg_v_hier
is from the main tutorialScreenshots
The
rt,response_mean
is a single value per sample which doesn't seem right.So, in the second output (call it
pps_data
), we would have to computepps_data['posterior_predictive']['rt,response'][:, :, :, 0].mean(dim=['chain', 'draw'])
Is this understanding correct?
Beta Was this translation helpful? Give feedback.
All reactions