-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementImprovement of existing codeImprovement of existing code
Description
Interested in making the polynomial chaos (PCE) methods more general and applicable to expensive models. Happy to open a PR for this if there is interest! I already have basic implementations of these locally.
Ideas:
- Allow constructor for
PolynomialChaosBasisto take in various multi-index setsα. This would mean moving the defined inner constructor outside of the struct and allowing that method to accept as input an arbitrary multi-index setα(with possible assertions to make sure it is a reasonable multi-index set). - Rename
multivariate_indicestototal_degree_setor something similar. Then, perhaps create methods forhyperbolic_cross_setandq_ball_set. - Remove factorial calls from line 63 and replace with
binomial(p+d,d)in casep+d>20and the factorial overflows. - Implement weighted approximate Feteke points (WAFP) option for polynomial chaos with least squares constructor as in
UncertainSCIand as described in this paper. This will not reduce the number of polynomial evaluations but can reduce the number of model evaluations drastically allowing for significant speed ups when the bottle-neck is model evaluations. This would meanpolynomial_chaos(inputs,model,Ψ,output,ls)would have possibly three additional (optional) arguments of whether the user wishes to use WAFP sampling and its hyper parameters. WAFP sampling would not replaceMonteCarloorSobolSampling, it would form a sparse subsample from one of these options.
mbvoyager
Metadata
Metadata
Assignees
Labels
enhancementImprovement of existing codeImprovement of existing code