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

[Feature] Using LatinHypercube for Prior.draw #520

Open
DevarshiChoudhury opened this issue Feb 6, 2025 · 0 comments · May be fixed by #521
Open

[Feature] Using LatinHypercube for Prior.draw #520

DevarshiChoudhury opened this issue Feb 6, 2025 · 0 comments · May be fixed by #521
Assignees
Labels
enhancement New feature or request

Comments

@DevarshiChoudhury
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently we use np.random.rand to perform draws from prior which may exhibit clustering, thereby potentially biasing SBI training if the Prior.draw function is used for training data generation.

Describe the solution you'd like
Using Latin Hypercube Sampling ensures that the samples are spread more evenly across the entire domain, making it a better choice for high-dimensional spaces when compared to simple random sampling.

@DevarshiChoudhury DevarshiChoudhury added the enhancement New feature or request label Feb 6, 2025
@DevarshiChoudhury DevarshiChoudhury self-assigned this Feb 6, 2025
@DevarshiChoudhury DevarshiChoudhury linked a pull request Feb 6, 2025 that will close this issue
@DevarshiChoudhury DevarshiChoudhury linked a pull request Feb 6, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant