|
CMP++: Uncertainty Quantification & Bayesian Calibration
|
A pass-through scaler that leaves input data unchanged. More...
#include <scaler.h>


Public Member Functions | |
| DummyScaler ()=default | |
| Default constructor. | |
| DummyScaler (const DummyScaler &other)=default | |
| DummyScaler (DummyScaler &&other)=default | |
| ~DummyScaler ()=default | |
| DummyScaler & | operator= (const DummyScaler &other)=default |
| DummyScaler & | operator= (DummyScaler &&other)=default |
| Eigen::VectorXd | transform (const Eigen::Ref< const Eigen::VectorXd > &data) const override |
| Transforms the input data from physical space to the scaled latent space. | |
| Eigen::VectorXd | inverseTransform (const Eigen::Ref< const Eigen::VectorXd > &data) const override |
| Reconstructs the data from the scaled latent space back to physical space. | |
| Eigen::VectorXd | getIntercept () const override |
| Retrieves the intercept vector \( \mu \) used in the transformation. | |
| Eigen::MatrixXd | getScale () const override |
| Retrieves the scaling matrix \( S \) used in the transformation. | |
| void | fit (const Eigen::Ref< const Eigen::MatrixXd > &data) override |
| Learns the scaling parameters (e.g., mean, variance) from the training data. | |
| Eigen::MatrixXd | fit_transform (const Eigen::Ref< const Eigen::MatrixXd > &data) override |
| Fits the scaling parameters to the data and subsequently transforms the data. | |
| void | setDim (size_t dim) |
| Explicitly sets the data dimensionality. | |
Private Attributes | |
| size_t | dim_ |
| The dimensionality \( d \) of the data vectors. | |
A pass-through scaler that leaves input data unchanged.
The transformation is the identity function mapping \( \mathbb{R}^d \to \mathbb{R}^d \):
\[ T(x) = x \]
\[ T^{-1}(y) = y \]
The intercept \( \mu \) is the zero vector, and the scale \( S \) is the identity matrix \( I \).
|
default |
Default constructor.
|
default |
|
default |
|
default |
|
inlineoverridevirtual |
Learns the scaling parameters (e.g., mean, variance) from the training data.
| data | A matrix \( X \in \mathbb{R}^{n \times d} \) of training samples. |
Implements cmp::scaler::Scaler.
|
inlineoverridevirtual |
Fits the scaling parameters to the data and subsequently transforms the data.
| data | A matrix \( X \in \mathbb{R}^{n \times d} \) of training samples. |
Implements cmp::scaler::Scaler.
|
inlineoverridevirtual |
Retrieves the intercept vector \( \mu \) used in the transformation.
Implements cmp::scaler::Scaler.
|
inlineoverridevirtual |
Retrieves the scaling matrix \( S \) used in the transformation.
Implements cmp::scaler::Scaler.
|
inlineoverridevirtual |
Reconstructs the data from the scaled latent space back to physical space.
| data | A column vector \( y \) in the scaled space. |
Implements cmp::scaler::Scaler.
|
default |
|
default |
|
inline |
Explicitly sets the data dimensionality.
| dim | The dimension \( d \). |
|
inlineoverridevirtual |
Transforms the input data from physical space to the scaled latent space.
| data | A column vector \( x \) representing a single data point in physical space. |
Implements cmp::scaler::Scaler.
|
private |
The dimensionality \( d \) of the data vectors.