GaussianSumSensitivity¶
- class GaussianSumSensitivity(a=[1.0, 1.0, 1.0], mu=[0.0, 0.0], sigma=[1.0, 1.0])¶
Class to define a gaussian sum sensitivity benchmark problem.
Methods
Returns the first order Sobol' sensitivity indices.
Returns the function.
Returns the input distribution.
getName()Returns the name of the problem.
Returns the total order Sobol' sensitivity indices.
- __init__(a=[1.0, 1.0, 1.0], mu=[0.0, 0.0], sigma=[1.0, 1.0])¶
Create a gaussian sum sensitivity problem.
The model is:
for any
where
are constant parameters. We assume that the input random variables have Gaussian distributions:
for
.
The output variance is:
The first-order Sobol’ indices are:
for
.
The total Sobol’ sensitivity indices are equal to the first order indices.
- Parameters:
- asequence of floats
The coefficients of the linear sum, with length d + 1.
- 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.
Examples
>>> import otbenchmark as otb >>> problem = otb.GaussianSumSensitivity()
- 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.
otbenchmark