In ChaosPolynomials.py: ChaosPolynomial1d, ChaosPolynomialNd as only polynomial classes, functions hermite_eval, legendre_eval assigned based on the input distribution and then used for evaluation
StandardizeData.py: new script with functions standardize_uniform and standardize_normal
MultiindexSets.py: new script with functions that generate total-degree and tensor-product multiindex sets
PolyBasis.py: new script with functions that operate on a PolyChaos object and create the polynomial basis
CoefficientFit.py: new script with functions fit_lstsq, fit_lasso, fit_ridge that operate on a PolyChaos object and compute the PCE coefficients
MomentEstimation.py: now includes two functions that operate on a PolyChaos object and compute the PCE mean and variance estimates, respectively
SobolEstimation: new script with two functions that operate on a PolyChaos object and compute the first- and total-order Sobol index estimates
Related Issue
This project only accepts pull requests related to open issues
If suggesting a new feature or change, please discuss it in an issue first
If fixing a bug, there should be an issue describing it with steps to reproduce
Please link to the issue here:
Motivation and Context
Code clarity. 2. Performance. 3. Removes unnecessary and excessive use of classes.
How Has This Been Tested?
Please describe in detail how you tested your changes.
Include details of your testing environment, and the tests you ran to
see how your change affects other areas of the code, etc.
Screenshots (if appropriate):
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
Go over all the following points, and put an x in all the boxes that apply.
If you're unsure about any of these, don't hesitate to ask. We're here to help!
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Updates to the PCE Surrogate
Changes to the PCE module in Surrogates
Description
Related Issue
This project only accepts pull requests related to open issues If suggesting a new feature or change, please discuss it in an issue first If fixing a bug, there should be an issue describing it with steps to reproduce Please link to the issue here:
Motivation and Context
How Has This Been Tested?
Please describe in detail how you tested your changes. Include details of your testing environment, and the tests you ran to see how your change affects other areas of the code, etc.
Screenshots (if appropriate):
Types of changes
What types of changes does your code introduce? Put an
x
in all the boxes that apply:Checklist:
Go over all the following points, and put an
x
in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!