-
Notifications
You must be signed in to change notification settings - Fork 29
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
Problems to run the experiment #3
Comments
Hi Dario, data_S_model13.R is just a data file that gets created in the script. I'm sorry I didn't find the time to produce a structured guide for now. Still I got feedback from several groups that were able to successfully use the code for other settings. If you don't have any experience with R it's going to be difficult though... Best, |
Hi @jriou , We are working at Pi School to port the experiment to Python, so we are interested in matching the output results in Python and R. I think we are pretty close to achieving the goal. I can run the file Best, |
Oh you're with the Pi School, I see!
Is it clear enough? |
Hi @jriou , Finally, I can run all the experiments in R and Python using Some comments about this:
Do you have any idea/clue about this? It looks like some people have the same problem here: https://discourse.mc-stan.org/t/different-outputs-in-rstan-vs-pystan/211 Clue: When I run big experiments (chain=4 and iter=1000), the results are pretty similar (but don't match), and when I run toy experiments (chain=1 and iter=5) the results are different. Again, thank you for your work! Best, |
Hi Dario, Indeed there seem to be an issue using the same seed in rstan and pystan, so it's no surprise that the results don't match exactly. It is perfectly normal that 5 iterations with different seeds don't match. If you get similar results with 4 chains and 1000 iterations that's all that matters to me. Thanks for your interest again, it's pretty rare to have someone go behind you and check your code in my field! |
Hi @jriou,
Congratulations on your work.
I try to run the experiment, but I have several problems to do it.
Some questions:
data_S_model13.R
, or I can generate it?Please, note I don't have any experience with the R language.
Best,
Dario
The text was updated successfully, but these errors were encountered: