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

Add randomized halton sequence #108

Merged
merged 3 commits into from
Feb 1, 2024

Conversation

mlsuh
Copy link

@mlsuh mlsuh commented Jan 30, 2024

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

This PR adds the randomized Halton sequence algorithm as presented in A randomized Halton algorithm in R (Owen, 2017). Since the algorithm doesn't scramble an existing deterministic sequence but directly creates the random samples, the decision was made to implement it as a 'RandomSamplingAlgorithm'.

The algorithm is implemented in line with the pseudo code presented in the paper.

The random sequence retains all properties of the Halton sequence. Therefore, we reused the present test for the Halton sequence for the new randomized version.

mlsuh added 3 commits January 29, 2024 15:24
Implement algorithm by A. Owen to sample
a randomized halton sequence.
Created RandomizedHaltonSample <: RandomSamplingAlgorithm.
@ChrisRackauckas ChrisRackauckas merged commit edaad76 into SciML:master Feb 1, 2024
13 of 15 checks passed
@ChrisRackauckas
Copy link
Member

Thanks!

@FriesischScott FriesischScott mentioned this pull request Oct 28, 2024
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

Successfully merging this pull request may close these issues.

2 participants