|
|
lucid
0.0.1
Lifting-based Uncertain Control Invariant Dynamics
|
Map input vectors to a feature space. More...
#include <FeatureMap.h>
Public Member Functions | |
| Matrix | operator() (ConstMatrixRef x) const |
| Apply the feature map to a vector. | |
| Matrix | invert (ConstMatrixRef y) const |
| Apply the inverse feature map to a vector. | |
| virtual std::unique_ptr< FeatureMap > | clone () const =0 |
| Clone the feature map. | |
| virtual std::string | to_string () const |
| Obtain the string representation of this object. | |
Protected Member Functions | |
| virtual Matrix | apply_impl (ConstMatrixRef x) const =0 |
| Concrete implementation of operator()(). | |
| virtual Matrix | invert_impl (ConstMatrixRef y) const =0 |
| Concrete implementation of invert(). | |
Map input vectors to a feature space.
The output space usually has a higher dimensionality than the input space.
|
nodiscardprotectedpure virtual |
Concrete implementation of operator()().
| x | \( \texttip{n}{Number of samples} \times \texttip{d}{Dimension of the vector space} \) input vector |
Implemented in lucid::TruncatedFourierFeatureMap.
|
nodiscardpure virtual |
Clone the feature map.
Create a new instance of the feature map with the same parameters.
Implemented in lucid::ConstantTruncatedFourierFeatureMap, lucid::LinearTruncatedFourierFeatureMap, lucid::LogTruncatedFourierFeatureMap, and lucid::TruncatedFourierFeatureMap.
|
nodiscard |
Apply the inverse feature map to a vector.
| y | \( n \times M \) input vector in the feature space |
|
nodiscardprotectedpure virtual |
Concrete implementation of invert().
| y | \( n \times M \) input vector in the feature space |
Implemented in lucid::TruncatedFourierFeatureMap.
|
nodiscard |
Apply the feature map to a vector.
| x | \( \texttip{n}{Number of samples} \times \texttip{d}{Dimension of the vector space} \) input vector |
|
nodiscardvirtual |
Obtain the string representation of this object.
Reimplemented in lucid::ConstantTruncatedFourierFeatureMap, lucid::LinearTruncatedFourierFeatureMap, and lucid::LogTruncatedFourierFeatureMap.