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

Parallel fitting does not apply to DDM models with reinforcement learning #17

Open
St-ZFeng opened this issue Aug 16, 2024 · 1 comment
Assignees

Comments

@St-ZFeng
Copy link

Greetings! After many confirmations, I found that the chains parameter is invalid for models such as HDDMrl. This will get:

PicklingError: Could not pickle the task to send it to the workers.

Is this feature not yet implemented in the RL model? Or am I using the wrong fitting parameters?

Thank you for your help and this handy docker version that saves me from the bad experience of the original version.

@panwanke
Copy link
Collaborator

panwanke commented Aug 22, 2024

Greetings! After many confirmations, I found that the chains parameter is invalid for models such as HDDMrl. This will get:

PicklingError: Could not pickle the task to send it to the workers.

Is this feature not yet implemented in the RL model? Or am I using the wrong fitting parameters?

Thank you for your help and this handy docker version that saves me from the bad experience of the original version.

Thank you for your feedback. Currently RL cannot support parallel multiple MCMC chains because RLDDM was not developed by the original authors of HDDM. And, it also failed after we tried to fix this issue.

However, we do allow RLHDDM to run multiple chains with a single core, just add, parallel=False to the parameter.

Here is a example notebook RLDDM.ipynb

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

No branches or pull requests

2 participants