setup_sobol_g_function

pyapprox.benchmarks.benchmarks.setup_sobol_g_function(nvars)[source]

Setup the Sobol-G function benchmark

f(z)=di=1|4zi2|+ai1+ai,ai=i22

using

>>> from pyapprox.benchmarks.benchmarks import setup_benchmark
>>> benchmark=setup_benchmark('sobol_g',nvars=2)
>>> print(benchmark.keys())
dict_keys(['fun', 'mean', 'variance', 'main_effects', 'total_effects', 'variable'])
Parameters
nvarsinteger

The number of variables of the Sobol-G function

Returns
benchmarkpya.Benchmark

Object containing the benchmark attributes

References

Saltelli1995

Saltelli, A., & Sobol, I. M. About the use of rank transformation in sensitivity analysis of model output. Reliability Engineering & System Safety, 50(3), 225-239, 1995.