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

Warnings because design matrices for Sobol's method are not randomized #166

Open
devmotion opened this issue May 17, 2024 · 1 comment · May be fixed by #167
Open

Warnings because design matrices for Sobol's method are not randomized #166

devmotion opened this issue May 17, 2024 · 1 comment · May be fixed by #167
Labels
bug Something isn't working

Comments

@devmotion
Copy link
Member

The design matrices for Sobol's method are not randomized (

QuasiMonteCarlo.SobolSample(),
), leading to the warning

┌ Warning: The generate_design_matrices(n, d, sampler, R = NoRand(), num_mats) method does not produces true and independent QMC matrices, see this doc warning
│ (https://docs.sciml.ai/QuasiMonteCarlo/stable/design_matrix/) for more context. Prefer using randomization methods such as R = Shift(), R = MatousekScrambling(),
│ etc., see documentation (https://docs.sciml.ai/QuasiMonteCarlo/stable/randomization/)
└ @ QuasiMonteCarlo /Users/david/.julia/packages/QuasiMonteCarlo/KvLfb/src/RandomizedQuasiMonteCarlo/iterators.jl:255

(shows up e.g. in CI: https://github.com/SciML/GlobalSensitivity.jl/actions/runs/8972149466/job/24639486952#step:6:515)

See https://docs.sciml.ai/QuasiMonteCarlo/stable/design_matrix/#DesignMatrices, https://docs.sciml.ai/QuasiMonteCarlo/stable/randomization/ and SciML/QuasiMonteCarlo.jl#79 (comment).

@devmotion devmotion added the bug Something isn't working label May 17, 2024
@Vaibhavdixit02 Vaibhavdixit02 linked a pull request May 17, 2024 that will close this issue
5 tasks
@Vaibhavdixit02
Copy link
Member

Very interesting, I hadn't seen that PR. Looks like all that needs to change here is #167

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants