ActiveLearningReliabilityResult

class ActiveLearningReliabilityResult(*args)

Result of active learning reliability algorithm.

Warning

This class is experimental and likely to be modified in future releases. To use it, import the openturns.experimental submodule.

It derives from ProbabilitySimulationResultImplementation so that the failure probability estimate is visible through a generic EventSimulation handle.

Per-iteration inner simulation results are kept with full dynamic type: generic quantities read directly on ProbabilitySimulationResult, concrete details through getImplementation().

Parameters:
probabilityEstimatefloat

Failure probability estimate.

reliabilityIndexfloat

Reliability index, \beta = -\Phi^{-1}(p).

gprResultGaussianProcessRegressionResult

Final Gaussian process surrogate.

probabilityHistorysequence of float

Failure probability estimate at each enrichment iteration.

reliabilityIndexHistorysequence of float

Reliability index at each enrichment iteration.

functionCallNumberint

Number of limit state function calls performed during enrichment.

probabilityCIInterval

Confidence interval of the failure probability estimate.

reliabilityIndexCIInterval

Confidence interval of the reliability index.

Methods

drawImportanceFactors()

Draw the importance factors.

getBlockSize()

Accessor to the block size.

getClassName()

Accessor to the object's name.

getCoefficientOfVariation()

Accessor to the coefficient of variation.

getConfidenceLength(*args)

Accessor to the confidence length.

getEvent()

Accessor to the event.

getFunctionCallNumber()

Accessor to function call number

getGprResult()

Accessor to Gaussian process result

getHasConverged()

Accessor to the convergence flag.

getImportanceFactors()

Accessor to the importance factors.

getMeanPointInEventDomain()

Accessor to the mean point conditioned to the event realization.

getName()

Accessor to the object's name.

getOuterSampling()

Accessor to the outer sampling.

getProbabilityConfidenceInterval()

Accessor to probability estimate confidence interval

getProbabilityDistribution()

Accessor to the asymptotic probability distribution.

getProbabilityEstimate()

Accessor to the probability estimate.

getProbabilityHistory()

Accessor to probability history

getReliabilityIndex()

Accessor to reliability index estimate

getReliabilityIndexConfidenceInterval()

Accessor to reliability index estimate confidence interval

getReliabilityIndexHistory()

Accessor to reliability index history

getSimulationResults()

Accessor to per-iteration inner simulation results.

getStandardDeviation()

Accessor to the standard deviation.

getTimeDuration()

Accessor to the elapsed time.

getVarianceEstimate()

Accessor to the variance estimate.

hasName()

Test if the object is named.

setBlockSize(blockSize)

Accessor to the block size.

setEvent(event)

Accessor to the event.

setFunctionCallNumber(functionCallNumber)

Accessor to function call number

setGprResult(gprResult)

Accessor to Gaussian process result

setHasConverged(hasConverged)

Accessor to the convergence flag.

setName(name)

Accessor to the object's name.

setOuterSampling(outerSampling)

Accessor to the outer sampling.

setProbabilityConfidenceInterval(probabilityCI)

Accessor to probability estimate confidence interval

setProbabilityEstimate(probabilityEstimate)

Accessor to the probability estimate.

setProbabilityHistory(probabilityHistory)

Accessor to probability history

setReliabilityIndex(reliabilityIndex)

Accessor to reliability index estimate

setReliabilityIndexConfidenceInterval(...)

Accessor to reliability index estimate confidence interval

setReliabilityIndexHistory(...)

Accessor to reliability index history

setTimeDuration(time)

Accessor to the elapsed time.

setVarianceEstimate(varianceEstimate)

Accessor to the variance estimate.

Notes

A full constructor is also available: it takes event before probabilityEstimate and varianceEstimate, outerSampling and blockSize after it, then the remaining parameters above.

__init__(*args)
drawImportanceFactors()

Draw the importance factors.

Warning

It is necessary to enable the history of the model to perform this analysis (see MemoizeFunction).

Returns:
graphGraph

Importance factor graph.

getBlockSize()

Accessor to the block size.

Returns:
blockSizeint

Number of terms in the probability simulation estimator grouped together.

getClassName()

Accessor to the object’s name.

Returns:
class_namestr

The object class name (object.__class__.__name__).

getCoefficientOfVariation()

Accessor to the coefficient of variation.

Returns:
coefficientfloat

Coefficient of variation of the simulated sample which is equal to \sqrt{Var_e} / P_e with Var_e the variance estimate and P_e the probability estimate.

getConfidenceLength(*args)

Accessor to the confidence length.

Deprecated since version 1.28: This accessor is kept for backward compatibility.

Parameters:
levelfloat, optional

Confidence level, in the range ]0, 1[.

Returns:
lengthfloat

Length of the bilateral confidence interval of the probability estimate.

getEvent()

Accessor to the event.

Returns:
eventRandomVector

Event we want to evaluate the probability.

getFunctionCallNumber()

Accessor to function call number

Returns:
functionCallNumberint

Number of true function calls during the active learning reliability algorithm

getGprResult()

Accessor to Gaussian process result

Returns:
gprResultGaussianProcessRegressionResult

Result of Gaussian process regressor used in active learning reliability algorithm

getHasConverged()

Accessor to the convergence flag.

Returns:
hasConvergedbool

True if the learning criterion converged within the iteration budget

getImportanceFactors()

Accessor to the importance factors.

Returns:
importanceFactorsPointWithDescription

Sequence containing the importance factors with a description for each component.

Notes

The importance factors \alpha_i are evaluated from the coordinates of the mean point of event domain \vect{X}^*_{event}, mapped into the standard space as follows:

\alpha_i = \displaystyle \frac{\left(U_{i}^*\right)^2}{||\vect{U}^*||^2}

where \vect{U}^* = T(\vect{X}^*_{event}) with T the iso-probabilistic transformation and the mean point \vect{X}^*_{event} = \displaystyle \frac{1}{n} \sum_{i=1}^{n} \vect{X}_i 1_{event}(\vect{X}_i).

Warning

This notion is only available if the history mechanism of the model is activated (see MemoizeFunction).

getMeanPointInEventDomain()

Accessor to the mean point conditioned to the event realization.

Returns:
meanPointPoint

Mean point in the physical space of all the simulations generated by the EventSimulation algorithm that failed into the event domain.

Notes

Warning

This notion is only available if the history mechanism of the model is activated (see MemoizeFunction).

getName()

Accessor to the object’s name.

Returns:
namestr

The name of the object.

getOuterSampling()

Accessor to the outer sampling.

Returns:
outerSamplingint

Number of groups of terms in the probability simulation estimator.

getProbabilityConfidenceInterval()

Accessor to probability estimate confidence interval

Returns:
probabilityCIInterval

Confidence interval of probability estimate, defined by convergenceUncertaintyFactor

getProbabilityDistribution()

Accessor to the asymptotic probability distribution.

Returns:
probaDistributionNormal

Asymptotic normal distribution of the event probability estimate.

getProbabilityEstimate()

Accessor to the probability estimate.

Returns:
probaEstimatefloat

Estimate of the event probability.

getProbabilityHistory()

Accessor to probability history

Returns:
probabilityHistorysequence of float

History of probability estimates during the iterations of active learning reliability algorithm

getReliabilityIndex()

Accessor to reliability index estimate

Returns:
reliabilityIndexScalar

Reliability index estimation with active learning reliability algorithm

getReliabilityIndexConfidenceInterval()

Accessor to reliability index estimate confidence interval

Returns:
reliabilityIndexCIInterval

Confidence interval of reliability index estimate, defined by convergenceUncertaintyFactor

getReliabilityIndexHistory()

Accessor to reliability index history

Returns:
reliabilityIndexHistorysequence of float

History of reliability index estimates during the iterations of active learning reliability algorithm

getSimulationResults()

Accessor to per-iteration inner simulation results.

Returns:
simulationResultssequence of ProbabilitySimulationResult

Inner simulation result of each enrichment iteration, with full dynamic type. Generic quantities read directly; concrete details through conversion to the known concrete type.

getStandardDeviation()

Accessor to the standard deviation.

Returns:
sigmafloat

Standard deviation of the estimator at the end of the simulation.

getTimeDuration()

Accessor to the elapsed time.

Returns:
timefloat

Simulation duration in seconds

getVarianceEstimate()

Accessor to the variance estimate.

Returns:
varianceEstimatefloat

Variance estimate.

hasName()

Test if the object is named.

Returns:
hasNamebool

True if the name is not empty.

setBlockSize(blockSize)

Accessor to the block size.

Parameters:
blockSizeint, blockSize \geq 0

Number of terms in the probability simulation estimator grouped together.

setEvent(event)

Accessor to the event.

Parameters:
eventRandomVector

Event we want to evaluate the probability.

setFunctionCallNumber(functionCallNumber)

Accessor to function call number

Parameters:
functionCallNumberint

Number of true function calls during the active learning reliability algorithm

setGprResult(gprResult)

Accessor to Gaussian process result

Parameters:
gprResultGaussianProcessRegressionResult

Result of Gaussian process regressor used in active learning reliability algorithm

setHasConverged(hasConverged)

Accessor to the convergence flag.

Parameters:
hasConvergedbool

True if the learning criterion converged within the iteration budget

setName(name)

Accessor to the object’s name.

Parameters:
namestr

The name of the object.

setOuterSampling(outerSampling)

Accessor to the outer sampling.

Parameters:
outerSamplingint, outerSampling \geq 0

Number of groups of terms in the probability simulation estimator.

setProbabilityConfidenceInterval(probabilityCI)

Accessor to probability estimate confidence interval

Parameters:
probabilityCIInterval

Confidence interval of probability estimate, defined by convergenceUncertaintyFactor

setProbabilityEstimate(probabilityEstimate)

Accessor to the probability estimate.

Parameters:
probaEstimatefloat, 0 \leq P_e \leq 1

Estimate of the event probability.

setProbabilityHistory(probabilityHistory)

Accessor to probability history

Parameters:
probabilityHistorysequence of float

History of probability estimates during the iterations of active learning reliability algorithm

setReliabilityIndex(reliabilityIndex)

Accessor to reliability index estimate

Parameters:
reliabilityIndexScalar

Reliability index estimation with active learning reliability algorithm

setReliabilityIndexConfidenceInterval(reliabilityIndexCI)

Accessor to reliability index estimate confidence interval

Parameters:
reliabilityIndexCIInterval

Confidence interval of reliability index estimate, defined by convergenceUncertaintyFactor

setReliabilityIndexHistory(reliabilityIndexHistory)

Accessor to reliability index history

Parameters:
reliabilityIndexHistorysequence of float

History of reliability index estimates during the iterations of active learning reliability algorithm

setTimeDuration(time)

Accessor to the elapsed time.

Parameters:
timefloat

Simulation duration in seconds

setVarianceEstimate(varianceEstimate)

Accessor to the variance estimate.

Parameters:
varianceEstimatefloat, Var_e \geq 0

Variance estimate.

Examples using the class

Active learning algorithms for reliability analysis

Active learning algorithms for reliability analysis

Analysis of active learning algorithms for reliability estimation

Analysis of active learning algorithms for reliability estimation

Custom active learning criterion for reliability analysis

Custom active learning criterion for reliability analysis