ApproximationAlgorithm¶
- class ApproximationAlgorithm(*args)¶
Approximation algorithm.
Notes
This class is not usable because it operates only within the
FunctionalChaosAlgorithm
.Methods
Accessor to the object's name.
Accessor to the coefficients.
getId
()Accessor to the object's id.
Accessor to the underlying implementation.
getName
()Accessor to the object's name.
getPsi
()Accessor to the basis.
Accessor to the coefficients.
Accessor to the coefficients.
Accessor to the weights.
getX
()Accessor to the input sample.
getY
()Accessor to the output sample.
run
()Run the algorithm.
setName
(name)Accessor to the object's name.
- __init__(*args)¶
- getClassName()¶
Accessor to the object’s name.
- Returns:
- class_namestr
The object class name (object.__class__.__name__).
- 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.
- getName()¶
Accessor to the object’s name.
- Returns:
- namestr
The name of the object.
- getRelativeError()¶
Accessor to the coefficients.
- Returns:
- relativeErrorfloat
The relative error
- getResidual()¶
Accessor to the coefficients.
- Returns:
- coefficientsfloat
The residual
- run()¶
Run the algorithm.
- setName(name)¶
Accessor to the object’s name.
- Parameters:
- namestr
The name of the object.