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

Allow alternate sampling distributions for all methods #346

Conversation

ConnectedSystems
Copy link
Member

Generalize scaling process for all sampling methods.

Note: The unscale_samples will need to be adjusted or generalized but it does not appear to be used internally.

@willu47 Would you be available to push out a new release once I add documentation?

Replaces #192 (with apologies to @willu47 and @filssavi)
Resolves #329 #343

pinging @MatthiVH

Removed leftover examples for Python 2
Added advanced examples for `readthedocs` and examples for generating alternate non-uniform distributions
@ConnectedSystems
Copy link
Member Author

Added documentation for sampling non-uniform distributions

Resolves #308

Partially addresses #274

pinging @DmitriyValetov regarding #338

@ConnectedSystems
Copy link
Member Author

In #339, prototype unified interface is provided, with the intention that sample scaling could be conducted at a single place in the codebase. Some methods, however, cannot be scaled post hoc (e.g. DGSM) so this needs to be kept in mind for the problem-spec approach, and possibly other aspects relating to #234.

This is one reason why use of the apply_scaling() function modifies the problem dict in place with a samples_scaled entry (see here).

These specific cases will have to be handled...

@ConnectedSystems ConnectedSystems changed the title Dist definition 343 Allow alternate sampling distributions for all methods Sep 12, 2020
@ConnectedSystems ConnectedSystems changed the base branch from master to experimental-methods September 13, 2020 06:40
@ConnectedSystems ConnectedSystems merged commit c6a0c4a into SALib:experimental-methods Sep 13, 2020
@ConnectedSystems ConnectedSystems deleted the dist-definition-343 branch September 13, 2020 07:11
@ConnectedSystems
Copy link
Member Author

Updated documentation will also resolve #332

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants