covariance__functions::PeriodicSquareExponential
#include <covariance_functions.h>
Public Member Functions | |
PeriodicSquareExponential (const Eigen::VectorXd &hyperParameters) | |
virtual CovFunc * | clone () const override |
Eigen::MatrixXd | evaluate (const Eigen::VectorXd &x1, const Eigen::VectorXd &x2) override |
int | getExtraParameterCount () const override |
const Eigen::VectorXd & | getExtraParameters () const override |
int | getParameterCount () const override |
const Eigen::VectorXd & | getParameters () const override |
void | setExtraParameters (const Eigen::VectorXd ¶ms) override |
void | setParameters (const Eigen::VectorXd ¶ms) override |
Public Member Functions inherited from covariance_functions::CovFunc |
Detailed Description
The function computes a combined covariance function. It is a periodic covariance function with an additional square exponential. This combination makes it possible to learn a signal that consists of both periodic and aperiodic parts.
Square Exponential Component:
Periodic Component:
Kernel Combination:
Definition at line 93 of file covariance_functions.h.
Constructor & Destructor Documentation
◆ PeriodicSquareExponential() [1/2]
covariance_functions::PeriodicSquareExponential::PeriodicSquareExponential | ( | ) |
Definition at line 27 of file covariance_functions.cpp.
◆ PeriodicSquareExponential() [2/2]
|
explicit |
Definition at line 30 of file covariance_functions.cpp.
Member Function Documentation
◆ clone()
|
inlineoverridevirtual |
Produces a clone to be able to copy the object.
Implements covariance_functions::CovFunc.
Definition at line 124 of file covariance_functions.h.
◆ evaluate()
|
overridevirtual |
Evaluates the covariance function, caches the quantities that are needed to calculate gradient and Hessian.
Implements covariance_functions::CovFunc.
Definition at line 33 of file covariance_functions.cpp.
◆ getExtraParameterCount()
|
overridevirtual |
Implements covariance_functions::CovFunc.
Definition at line 95 of file covariance_functions.cpp.
◆ getExtraParameters()
|
overridevirtual |
Implements covariance_functions::CovFunc.
Definition at line 85 of file covariance_functions.cpp.
◆ getParameterCount()
|
overridevirtual |
Returns the number of hyper-parameters.
Implements covariance_functions::CovFunc.
Definition at line 90 of file covariance_functions.cpp.
◆ getParameters()
|
overridevirtual |
Returns the hyper-parameters.
Implements covariance_functions::CovFunc.
Definition at line 80 of file covariance_functions.cpp.
◆ setExtraParameters()
|
overridevirtual |
Implements covariance_functions::CovFunc.
Definition at line 75 of file covariance_functions.cpp.
◆ setParameters()
|
overridevirtual |
Method to set the hyper-parameters.
Implements covariance_functions::CovFunc.
Definition at line 70 of file covariance_functions.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.