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

Convert representation of samples/outputs from Vector{Tuple} to Matrix #355

Open
archermarx opened this issue Jun 2, 2022 · 0 comments
Open

Comments

@archermarx
Copy link
Contributor

Following on from https://github.com/SciML/Surrogates.jl/issues/338, when we transferred all of our sampling methods over to QuasiMonteCarlo.jl, we encountered the issue that QuasiMonteCarlo.jl outputs samples as a $d\times n$ Matrix, where $d$ is the dimension of the problem and $n$ is the number of samples, while Surrogates expects samples as a length-$n$ Vector of length-d Tuples. Converting Surrogates.jl to the former representation might improve speed and would allow us to remove the one remaining sampling-related bit of code, but would be a breaking change.

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

No branches or pull requests

1 participant