damar-wicaksono / uqtestfuns

A Python3 library of test functions from the uncertainty quantification community with a common interface for validation and benchmarking purposes.
https://uqtestfuns.readthedocs.io/en/latest/
MIT License
8 stars 0 forks source link

Consider hiding the application tags if `uqtf.list_functions()` function has been called with the `tag` argument #210

Closed damar-wicaksono closed 1 year ago

damar-wicaksono commented 1 year ago

Currently calling uqtf.list_functions() with a tag argument, the application tags are still shown. This information is superfluous and may be hidden in such a case.

>>> import uqtestfuns as uqtf
>>> uqtf.list_functions(tag="sensitivity")

 No.      Constructor       Spatial Dimension                Application                Description
-----  ------------------  -------------------  --------------------------------------  ----------------------------------------------------------------------------
  1        Borehole()               8                 metamodeling, sensitivity         Borehole function from Harper and Gupta (1983)
  2    DampedOscillator()           8                 metamodeling, sensitivity         Damped oscillator model from Igusa and Der Kiureghian (1985)
  3         Flood()                 8                 metamodeling, sensitivity         Flood model from Iooss and Lemaître (2015)
  4        Ishigami()               3                        sensitivity                Ishigami function from Ishigami and Homma (1991)
  5       OTLCircuit()              6                 metamodeling, sensitivity         Output transformerless (OTL) circuit model from Ben-Ari and Steinberg (2007)
  6         Piston()                7                 metamodeling, sensitivity         Piston simulation model from Ben-Ari and Steinberg (2007)
  7         SobolG()                M                  sensitivity, integration         Sobol'-G function from Radović et al. (1996)
  8         Sulfur()                9                 metamodeling, sensitivity         Sulfur model from Charlson et al. (1992)
  9       Welch1992()              20           metamodeling, sensitivity, integration  20-Dimensional function from Welch et al. (1992)
 10       WingWeight()             10                 metamodeling, sensitivity         Wing weight model from Forrester et al. (2008)
damar-wicaksono commented 1 year ago

This issue has been resolved by PR #237.