Double differentiable radial basis function kernel. More...
#include <Kernels.hpp>
Public Member Functions | |
virtual double | second_derivative (double r2) const =0 |
Second derivative of the radial basis function of the RBF kernel. More... | |
![]() | |
virtual double | gradient (double r2) const =0 |
Gradient of the radial basis function of the RBF kernel. More... | |
![]() | |
virtual | ~RadialBasisFunction () |
Virtual destructor. | |
virtual double | value (double r2) const =0 |
Radial basis function of the RBF kernel. More... | |
Double differentiable radial basis function kernel.
|
pure virtual |
Second derivative of the radial basis function of the RBF kernel.
r2 | Square of the L2 norm of the difference between two feature vectors. |
std::domain_error | If r2 < 0. |
Implemented in ml::Kernels::GaussianRBF.