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

Mention reproducibility in seed argument docstring #1368

Open
erikcs opened this issue Oct 12, 2023 · 0 comments
Open

Mention reproducibility in seed argument docstring #1368

erikcs opened this issue Oct 12, 2023 · 0 comments

Comments

@erikcs
Copy link
Member

erikcs commented Oct 12, 2023

In order for a grf forest to produce the same results on different machines, in addition to the sameseed argument, it also needs the same num.threads argument, as pointed out in the online reference

Therefore, in order to ensure consistent results, we provide the following recommendations.

Make sure arguments seed and num.threads are the same across platforms
Round data to 8 significant digits)

Since this sometimes comes up (#1262) it would be good to also state this in the R documentation for the seed argument.

(making results independent of num.threads would be ideal and straight-forward to do - #1263, but unfortunately, it would be a breaking change, changing results for people who expect the old behavior, and so for now it's reasonable to just keep it this way).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant