GaussianProductSensitivity

class GaussianProductSensitivity(mu=[0.0, 0.0], sigma=[1.0, 1.0])

Class to define a linear sum sensitivity benchmark problem.

Methods

getFirstOrderIndices()

Returns the first order Sobol' sensitivity indices.

getFunction()

Returns the function.

getInputDistribution()

Returns the input distribution.

getName()

Returns the name of the problem.

getTotalOrderIndices()

Returns the total order Sobol' sensitivity indices.

__init__(mu=[0.0, 0.0], sigma=[1.0, 1.0])

Create a gaussian product sensitivity problem.

The model is:

g(x) = x[0] * x[1] * … * x[d-1]

where d is the dimension and

x[i] = Normal(mu[i], sigma[i])

for i = 0, …, d-1.

The default dimension is equal to 2.

This case is interesting because interactions matters.

Parameters:
musequence of floats

The mean of the gaussian distributions, with length d.

sigmasequence of floats

The standard deviations of the gaussian distributions, with length d.

References

  • “Sensitivity analysis examples with NISP” Michael Baudin (INRIA), Jean-Marc Martinez (CEA)

Examples

>>> import otbenchmark as otb
>>> problem = otb.LinearSumSensitivity()
getFirstOrderIndices()

Returns the first order Sobol’ sensitivity indices.

Parameters:
None.
Returns:
firstOrderIndices: ot.Point

The first order sensitivity indices.

getFunction()

Returns the function.

Parameters:
None.
Returns:
function: ot.Function

The function.

getInputDistribution()

Returns the input distribution.

Parameters:
None.
Returns:
distribution: ot.Distribution

The distribution.

getName()

Returns the name of the problem.

Parameters:
None.
Returns:
name: str

The name.

getTotalOrderIndices()

Returns the total order Sobol’ sensitivity indices.

Parameters:
None.
Returns:
totalOrderIndices: ot.Point

The total order sensitivity indices.