8000 more scalable isotropic sparse grid by wedeling · Pull Request #364 · UCL-CCS/EasyVVUQ · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

more scalable isotropic sparse grid #364

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

Merged
merged 12 commits into from
Jun 27, 2022
Merged

more scalable isotropic sparse grid #364

merged 12 commits into from
Jun 27, 2022

Conversation

wedeling
Copy link
Collaborator
@wedeling wedeling commented Feb 4, 2022

Made the isotropic sparse grid much more scalable to higher dimensions by making the compute_sparse_multi_idx subroutine in the SC sampler more efficient. This used to crash when applying more than 20 inputs. Now it uses the same subroutines as the anisotropic (dimension-adaptive) SC sampler.

The next_level_sparse_grid also uses dimension-adaptive subroutines, and it is now basically reduced to one line.

EDIT: I also modified the PCE-based stats and Sobol subroutines inside the SC analysis class. Turns out you can write a dimension-adaptive SC expansion in the form of a standard PCE expansion, which simplifies the computation of the mean and Sobol indices.

NOTE: the testing always fails at the same point, when getting to tests/test_pce_analysis_results.py. This does not generate an error though when I test locally.

@wedeling wedeling requested a review from orbitfold February 4, 2022 15:30
@wedeling wedeling marked this pull request as draft February 4, 2022 15:31
@wedeling wedeling requested a review from DavidPCoster February 4, 2022 15:31
@wedeling wedeling marked this pull request as ready for review February 7, 2022 12:28
@wedeling wedeling marked this pull request as draft February 11, 2022 11:34
@wedeling wedeling marked this pull request as ready for review May 31, 2022 08:00
@wedeling wedeling requested a review from djgroen June 24, 2022 17:15
Copy link
Contributor
@djgroen djgroen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks good to me.

@djgroen djgroen merged commit fd42187 into dev Jun 27, 2022
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.

3 participants
0