#include <gpr/covariance_functions/KernelOperator.h>
Public Member Functions | |
| Sum (std::vector< std::shared_ptr< const KernelOperator > > summands) | |
| JointCovarianceTileFunction | prepareJointCovarianceTiles (const Eigen::MatrixXd &positions) const override |
| CrossCovarianceFunction | prepareCrossCovariance (const Eigen::MatrixXd &training) 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 |
| MeanFunction | prepareMean (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 std::vector< std::shared_ptr< const KernelOperator > > & | summands () const noexcept |
| 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::VectorXd | applyJointCrossCovariance (const Eigen::MatrixXd &left_positions, const Eigen::MatrixXd &right_positions, const Eigen::VectorXd &weights) const override |
| Public Member Functions inherited from gpr::KernelOperator | |
| virtual | ~KernelOperator ()=default |
| Eigen::MatrixXd | energyCorrelationDistances (const Eigen::MatrixXd &left_positions, const Eigen::MatrixXd &right_positions) const |
| virtual Eigen::MatrixXd | jointEnergyGradientCovariance (const Eigen::MatrixXd &positions) const |
| Joint covariance in Observation order [E; G_col0; ...; G_colD-1]. | |
| 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 |
K = sum_i K_i on the same [E; G] layout.
Nonnegative weights live on the summands, not on this operator and not on Sexpat. An empty sum is rejected.
Definition at line 205 of file KernelOperator.h.
|
explicit |
Definition at line 970 of file KernelOperator.cpp.
|
nodiscardoverridevirtual |
Contract the joint cross covariance with coefficients in [E; G] order. Operators can apply their feature contractions without a dense tensor.
Reimplemented from gpr::KernelOperator.
Definition at line 1063 of file KernelOperator.cpp.
|
nodiscardoverridevirtual |
Covariance between one channel at each set of geometry rows.
Implements gpr::KernelOperator.
Definition at line 1030 of file KernelOperator.cpp.
|
nodiscardoverridevirtual |
Energy self covariance at each geometry, without an all-pairs matrix.
Reimplemented from gpr::KernelOperator.
Definition at line 1017 of file KernelOperator.cpp.
|
nodiscardoverridevirtual |
Cross covariance in Observation order on each operand.
Reimplemented from gpr::KernelOperator.
Definition at line 1046 of file KernelOperator.cpp.
|
nodiscardoverridevirtualnoexcept |
Reimplemented from gpr::KernelOperator.
Definition at line 539 of file KernelOperator.cpp.
|
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 550 of file KernelOperator.cpp.
|
nodiscardoverridevirtual |
Immutable observation functionals for a fixed right operand. Query geometries are evaluated afresh; an empty function requests fallback.
Reimplemented from gpr::KernelOperator.
Definition at line 405 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 983 of file KernelOperator.cpp.
|
nodiscardoverridevirtual |
Immutable fitted coefficients with fresh evaluation at every query. An empty function requests the owning generic covariance product.
Reimplemented from gpr::KernelOperator.
Definition at line 426 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 477 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 447 of file KernelOperator.cpp.
|
inlinenodiscardnoexcept |
Definition at line 235 of file KernelOperator.h.