gemseo.mlearning.regression.algos.fce module#
Functional chaos expansion model.
- class FCERegressor(data, settings_model=None, **settings)[source]#
Bases:
BaseFCERegressorFunctional chaos expansion model.
Given a training dataset whose input samples are generated from OpenTURNS probability distributions, this regression algorithm can use any linear model fitting algorithm, including sparse techniques, to fit a functional chaos expansion (FCE) model of the form
\[y = \sum_{i\in\mathcal{I}\subset\mathbb{N}^d} w_i\Psi_i(x)\]where \(\Psi_i(x)=\prod_{j=1}^d\psi_{i,j}(x_j)\) and \(\mathbb{E}[\Psi_i(x)\Psi_j(x)]=\delta_{ij}\) with \(\delta\) the Kronecker delta.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
data (IODataset) -- The training dataset whose input space
data.misc["input_space"]is expected to be aParameterSpacedefining the random input variables asOTDistributionobjects.settings_model (FCERegressor_Settings | None) -- The machine learning algorithm settings as a Pydantic model. If
None, use**settings.**settings (Any) -- The machine learning algorithm settings. These arguments are ignored when
settings_modelis notNone.
- Raises:
ValueError -- When
learn_jacobian_dataoruse_special_jacobian_dataisTruebut the training dataset does not contain Jacobian data.
- Settings#
alias of
FCERegressor_Settings