ActiveLearningReliabilityFunction

class ActiveLearningReliabilityFunction(*args)

Active learning criterion for reliability analysis.

Warning

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

This class is a base class for all the active learning criteria for reliability analysis.

The principle is to evaluate candidate samples on an active learning (also known as infill) criterion to identify the sample that is the most relevant for the metamodel update.

An ActiveLearningReliabilityFunction object can be created only through its derived classes, ActiveLearningUFunction, ActiveLearningEFFFunction, ActiveLearningGMMFunction or a PythonActiveLearningReliabilityFunction wrapped with this constructor. Customized infill criteria can be implemented following the template given in Custom active learning criterion for reliability analysis.

Parameters:
reliabilityThresholdfloat

Reliability analysis threshold.

learningThresholdfloat

Threshold used to check the active learning convergence.

Methods

checkConvergenceLearning(criterionValues)

Test convergence of active learning.

getClassName()

Accessor to the object's name.

getGaussianProcessRegression()

Gaussian Process Regressor accessor.

getId()

Accessor to the object's id.

getImplementation()

Accessor to the underlying implementation.

getInfillSample(inputSample, criterionValues)

Select the infill sample to evaluate on the true function.

getLearningThreshold()

Learning threshold accessor.

getName()

Accessor to the object's name.

getReliabilityThreshold()

Reliability threshold accessor.

isMaximization()

Selection direction of the criterion.

setGaussianProcessRegression(gprResult)

Gaussian Process Regressor accessor.

setLearningThreshold(learningThreshold)

Learning threshold accessor.

setName(name)

Accessor to the object's name.

setReliabilityThreshold(reliabilityThreshold)

Reliability threshold accessor.

__init__(*args)
checkConvergenceLearning(criterionValues)

Test convergence of active learning.

Parameters:
criterionValuesSample

Values of the infill criterion on the candidate sample.

Returns:
convergenceIndicatorbool

Indicator of convergence. The convergence is assumed if the infill values obtained for each candidate sample fulfill the convergence test (according to the learning threshold).

getClassName()

Accessor to the object’s name.

Returns:
class_namestr

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

getGaussianProcessRegression()

Gaussian Process Regressor accessor.

Returns:
gprResultGaussianProcessRegressionResult

Gaussian Process Regressor Result

getId()

Accessor to the object’s id.

Returns:
idint

Internal unique identifier.

getImplementation()

Accessor to the underlying implementation.

Returns:
implImplementation

A copy of the underlying implementation object.

getInfillSample(inputSample, criterionValues)

Select the infill sample to evaluate on the true function.

Parameters:
candidateSampleSample

Candidate sample to test.

criterionValuesSample

Values of infill criterion for the candidateSample.

Returns
——-
sampleToEvaluateSample

Sample that maximize (or minimize) the active learning criterion. This sample will be evaluated on the true function.

getLearningThreshold()

Learning threshold accessor.

Returns:
learningThresholdScalar

Threshold to determine if the learning process is converged.

getName()

Accessor to the object’s name.

Returns:
namestr

The name of the object.

getReliabilityThreshold()

Reliability threshold accessor.

Returns:
reliabilityThresholdScalar

Threshold of the reliability event

isMaximization()

Selection direction of the criterion.

Returns:
isMaximizationbool

True if the infill point maximizes the criterion (EFF, GMM), False if it minimizes it (U).

setGaussianProcessRegression(gprResult)

Gaussian Process Regressor accessor.

Parameters:
gprResultGaussianProcessRegressionResult

Gaussian Process Regressor Result

setLearningThreshold(learningThreshold)

Learning threshold accessor.

Parameters:
learningThresholdScalar

Threshold to determine if the learning process is converged. This threshold can be used as termination criterion in active learning process.

setName(name)

Accessor to the object’s name.

Parameters:
namestr

The name of the object.

setReliabilityThreshold(reliabilityThreshold)

Reliability threshold accessor.

Parameters:
reliabilityThresholdScalar

Threshold of the reliability event

Examples using the class

Custom active learning criterion for reliability analysis

Custom active learning criterion for reliability analysis