Skip to content

v0.2.0

Compare
Choose a tag to compare
@damar-wicaksono damar-wicaksono released this 26 Jun 17:18
· 82 commits to dev since this release
017b118

June 26, 2023

v0.2.0 includes several new test functions in the context of metamodeling, sensitivity analysis, integration, and optimization.
The release also includes several refactoring, enhancements, and bugfixes in the code base.

See the complete CHANGELOG

New

  • Six two-dimensional test functions from Franke (1979)
  • Five two-dimensional test functions from McLain (1974)
  • Four M-dimensional test functions from Bratley et al. (1992)
  • 20-dimensional test function from Welch et al. (1992)
  • One-dimensional test function from Forrester et al. (2008)
  • One-dimensional test function from Gramacy (2007)
  • New sets of parameters for the Sobol'-G function taken from Bratley et al. (1992) and Saltelli and Sobol' (1995)

Enhancements

  • An instance of NumPy random number generator is now attached to instances of UnivDist and ProbInput. The random seed number may be passed to the corresponding constructor for reproducibility. This is to conform with the current best practice of using NumPy random number generators.

Changes

  • Two base classes are now available UQTestFunBareABC and UQTestFunABC. The former is used to implement a bare UQ test function (with only evaluate() and ProbInput), while the latter is used to implement published UQ test functions in the code base (i.e., with additional metadata such as tags and description).
  • When list_functions() is called with a tag argument, then the application tags are no longer displayed to save terminal spaces.
  • The one-dimensional OakleyOHagan1D function has been renamed toOakley1D.

Bugfixes

  • The original citation for the Sobol'-G function has been fixed; it is now referred to Saltelli and Sobol' (1995).
  • If a function is used as parameters in a test function (e.g., if variable dimension), then it must have the keyword parameter
    "spatial_dimension" for the function to be called when an instance of a UQ test function is created. This is to allow an arbitrary function (without a parameter named "spatial_dimension") to be a parameter of UQ test function.
  • One-dimensional test function now returns a one-dimensional array.