TensorApproximationResult¶
- class TensorApproximationResult(*args)¶
Functional chaos result.
Notes
Structure created by the method run() of
TensorApproximationAlgorithm
, and obtained thanks to the method getResult().Methods
Accessor to the object’s name.
Get the composed metamodel.
Get the composed model.
Get the input distribution.
getId
()Accessor to the object’s id.
Get the inverse isoprobabilistic transformation.
Accessor to the metamodel.
getModel
()Accessor to the model.
getName
()Accessor to the object’s name.
Accessor to the relative errors.
Accessor to the residuals.
Accessor to the object’s shadowed id.
getTensor
([marginalIndex])Accessor to the tensor.
Get the isoprobabilistic transformation.
Accessor to the object’s visibility state.
hasName
()Test if the object is named.
Test if the object has a distinguishable name.
setMetaModel
(metaModel)Accessor to the metamodel.
setModel
(model)Accessor to the model.
setName
(name)Accessor to the object’s name.
setRelativeErrors
(relativeErrors)Accessor to the relative errors.
setResiduals
(residuals)Accessor to the residuals.
setShadowedId
(id)Accessor to the object’s shadowed id.
setVisibility
(visible)Accessor to the object’s visibility state.
- __init__(*args)¶
Initialize self. See help(type(self)) for accurate signature.
- getClassName()¶
Accessor to the object’s name.
- Returns
- class_namestr
The object class name (object.__class__.__name__).
- getDistribution()¶
Get the input distribution.
- Returns
- distribution
Distribution
Distribution of the input random vector .
- distribution
- getId()¶
Accessor to the object’s id.
- Returns
- idint
Internal unique identifier.
- getInverseTransformation()¶
Get the inverse isoprobabilistic transformation.
- Returns
- invTransf
Function
such that .
- invTransf
- getName()¶
Accessor to the object’s name.
- Returns
- namestr
The name of the object.
- getRelativeErrors()¶
Accessor to the relative errors.
- Returns
- relativeErrors
Point
The relative errors defined as follows for each output of the model: with the vector of the model’s values and the metamodel’s values.
- relativeErrors
- getResiduals()¶
Accessor to the residuals.
- Returns
- residuals
Point
The residual values defined as follows for each output of the model: with the model’s values and the metamodel’s values.
- residuals
- getShadowedId()¶
Accessor to the object’s shadowed id.
- Returns
- idint
Internal unique identifier.
- getTensor(marginalIndex=0)¶
Accessor to the tensor.
- Parameters
- marginalIndexint
Index of the marginal
- Returns
- tensor
CanonicalTensorEvaluation
Tensor data.
- tensor
- getTransformation()¶
Get the isoprobabilistic transformation.
- Returns
- transformation
Function
Transformation such that .
- transformation
- getVisibility()¶
Accessor to the object’s visibility state.
- Returns
- visiblebool
Visibility flag.
- hasName()¶
Test if the object is named.
- Returns
- hasNamebool
True if the name is not empty.
- hasVisibleName()¶
Test if the object has a distinguishable name.
- Returns
- hasVisibleNamebool
True if the name is not empty and not the default one.
- setModel(model)¶
Accessor to the model.
- Parameters
- model
Function
Physical model approximated by a metamodel.
- model
- setName(name)¶
Accessor to the object’s name.
- Parameters
- namestr
The name of the object.
- setRelativeErrors(relativeErrors)¶
Accessor to the relative errors.
- Parameters
- relativeErrorssequence of float
The relative errors defined as follows for each output of the model: with the vector of the model’s values and the metamodel’s values.
- setResiduals(residuals)¶
Accessor to the residuals.
- Parameters
- residualssequence of float
The residual values defined as follows for each output of the model: with the model’s values and the metamodel’s values.
- setShadowedId(id)¶
Accessor to the object’s shadowed id.
- Parameters
- idint
Internal unique identifier.
- setVisibility(visible)¶
Accessor to the object’s visibility state.
- Parameters
- visiblebool
Visibility flag.