#include <gpr/covariance_functions/KernelOperator.h>
Public Member Functions | |
| Pullback (std::shared_ptr< const geometry::CoordinateChart > chart, double magnitude_variance, double length_scale) | |
| Pullback (std::shared_ptr< const ManifoldEnergyForceKernel > squared_exponential) | |
| JointCovarianceTileFunction | prepareJointCovarianceTiles (const Eigen::MatrixXd &positions) const override |
| MeanHessianFunction | prepareMeanHessianVector (const Eigen::MatrixXd &training, const Eigen::VectorXd &weights) const override |
| MeanHessianPreparation | prepareMeanHessian (const Eigen::MatrixXd &training, const Eigen::VectorXd &weights) const override |
| bool | meanHessianVector (const Coord &training, const Eigen::VectorXd &weights, const Eigen::VectorXd &position, const Eigen::VectorXd &direction, Eigen::VectorXd &action) const override |
| MeanCurvature | meanCurvature () const noexcept override |
| const ManifoldEnergyForceKernel & | squaredExponential () const |
| const geometry::CoordinateChart & | chart () const |
| Eigen::VectorXd | energyDiagonal (const Eigen::MatrixXd &positions) const override |
| Energy self covariance at each geometry, without an all-pairs matrix. | |
| Eigen::MatrixXd | covarianceBlock (const Eigen::MatrixXd &left_positions, const Eigen::MatrixXd &right_positions, Eigen::Index left_channel, Eigen::Index right_channel) const override |
| Covariance between one channel at each set of geometry rows. | |
| Eigen::MatrixXd | jointEnergyGradientCrossCovariance (const Eigen::MatrixXd &left_positions, const Eigen::MatrixXd &right_positions) const override |
| Cross covariance in Observation order on each operand. | |
| Eigen::MatrixXd | jointEnergyGradientCovariance (const Eigen::MatrixXd &positions) const override |
| Joint covariance in Observation order [E; G_col0; ...; G_colD-1]. | |
| Public Member Functions inherited from gpr::KernelOperator | |
| virtual | ~KernelOperator ()=default |
| virtual CrossCovarianceFunction | prepareCrossCovariance (const Eigen::MatrixXd &) const |
| virtual MeanFunction | prepareMean (const Eigen::MatrixXd &, const Eigen::VectorXd &) const |
| Eigen::MatrixXd | energyCorrelationDistances (const Eigen::MatrixXd &left_positions, const Eigen::MatrixXd &right_positions) const |
| virtual Eigen::VectorXd | applyJointCrossCovariance (const Eigen::MatrixXd &left_positions, const Eigen::MatrixXd &right_positions, const Eigen::VectorXd &weights) const |
| virtual Eigen::VectorXd | jointEnergyGradientDiagonal (const Eigen::MatrixXd &positions) const |
| Marginal prior variances in the same channel order as the joint matrix. | |
Additional Inherited Members | |
| Public Types inherited from gpr::KernelOperator | |
| enum class | MeanHessianStatus { Computed , Refused , Unavailable } |
| enum class | MeanCurvature { Unknown , Exact , Refused } |
| using | MeanFunction = std::function<Eigen::VectorXd(const Eigen::MatrixXd&)> |
| using | CrossCovarianceFunction |
| using | JointCovarianceTileFunction |
| using | MeanHessianFunction |
| using | HessianAction |
| using | MeanHessianPreparation |
| using | MeanHessianMatrixFunction |
Scalar squared-exponential kernel on chart coordinates pulled through Dz.
The SE instance is ManifoldEnergyForceKernel: E(x) = f(z(x)) induces G(x) = Dz(x)^T grad_z f, so the joint [E; G] tensor stays one PSD object.
Definition at line 266 of file KernelOperator.h.
| gpr::Pullback::Pullback | ( | std::shared_ptr< const geometry::CoordinateChart > | chart, |
| double | magnitude_variance, | ||
| double | length_scale ) |
Definition at line 1081 of file KernelOperator.cpp.
|
explicit |
Definition at line 1088 of file KernelOperator.cpp.
|
inlinenodiscard |
Definition at line 299 of file KernelOperator.h.
|
nodiscardoverridevirtual |
Covariance between one channel at each set of geometry rows.
Implements gpr::KernelOperator.
Definition at line 1118 of file KernelOperator.cpp.
|
nodiscardoverridevirtual |
Energy self covariance at each geometry, without an all-pairs matrix.
Reimplemented from gpr::KernelOperator.
Definition at line 1104 of file KernelOperator.cpp.
|
nodiscardoverridevirtual |
Joint covariance in Observation order [E; G_col0; ...; G_colD-1].
Reimplemented from gpr::KernelOperator.
Definition at line 1135 of file KernelOperator.cpp.
|
nodiscardoverridevirtual |
Cross covariance in Observation order on each operand.
Reimplemented from gpr::KernelOperator.
Definition at line 1127 of file KernelOperator.cpp.
|
inlinenodiscardoverridevirtualnoexcept |
Reimplemented from gpr::KernelOperator.
Definition at line 289 of file KernelOperator.h.
|
nodiscardoverridevirtual |
Hessian action of the scalar kernel expansion with joint [E; G] training coefficients. False denotes an unsupported derivative.
Reimplemented from gpr::KernelOperator.
Definition at line 576 of file KernelOperator.cpp.
|
nodiscardoverridevirtual |
Own geometry and parameters for repeated single-geometry [E; G] tiles. The arguments index the supplied rows. An empty function requests evaluation through jointEnergyGradientCrossCovariance.
Reimplemented from gpr::KernelOperator.
Definition at line 1099 of file KernelOperator.cpp.
|
nodiscardoverridevirtual |
Own the fitted mean coefficients and construct a scoped linear Hessian operator at each requested geometry. No query is retained by the fitted model. An empty preparation requests the directional path.
Reimplemented from gpr::KernelOperator.
Definition at line 634 of file KernelOperator.cpp.
|
nodiscardoverridevirtual |
Owning fitted derivative coefficients; query geometry is evaluated afresh. An empty function requests the generic scalar-kernel action.
Reimplemented from gpr::KernelOperator.
Definition at line 747 of file KernelOperator.cpp.
|
inlinenodiscard |
Definition at line 295 of file KernelOperator.h.