setup_piston_benchmark

pyapprox.benchmarks.setup_piston_benchmark()[source]
Returns:
benchmarkBenchmark

Object containing the benchmark attributes documented below

funcallable

The piston model with signature

fun(z) -> np.ndarray

where z is a 2D np.ndarray with shape (nvars,nsamples) and the output is a 2D np.ndarray with shape (nsamples,1)

variableIndependentMarginalsVariable

Object containing information of the joint density of the inputs z which is the tensor product of independent and identically distributed uniform variables`.

References