I had trouble running hddm.utils.post_pred_gen on my data.
I got:
942
943 if len(data_nodes) != 1:
--> 944 raise NotImplementedError("Supply a grouping so that at most 1 observed node codes for each group.")
945
946 return data_nodes[0]
NotImplementedError: Supply a grouping so that at most 1 observed node codes for each group.
The intermediate solution is to reset indices of the input data if you filter out some trials.
I had trouble running
hddm.utils.post_pred_gen
on my data.I got:
The intermediate solution is to reset indices of the input data if you filter out some trials.