MLpp
ml::Kernels::DoubleDifferentiableRadialBasisFunction Class Referenceabstract

Double differentiable radial basis function kernel. More...

#include <Kernels.hpp>

Inheritance diagram for ml::Kernels::DoubleDifferentiableRadialBasisFunction:
Collaboration diagram for ml::Kernels::DoubleDifferentiableRadialBasisFunction:

Public Member Functions

virtual double second_derivative (double r2) const =0
 Second derivative of the radial basis function of the RBF kernel. More...
 
- Public Member Functions inherited from ml::Kernels::DifferentiableRadialBasisFunction
virtual double gradient (double r2) const =0
 Gradient of the radial basis function of the RBF kernel. More...
 
- Public Member Functions inherited from ml::Kernels::RadialBasisFunction
virtual ~RadialBasisFunction ()
 Virtual destructor.
 
virtual double value (double r2) const =0
 Radial basis function of the RBF kernel. More...
 

Detailed Description

Double differentiable radial basis function kernel.

Member Function Documentation

◆ second_derivative()

virtual double ml::Kernels::DoubleDifferentiableRadialBasisFunction::second_derivative ( double  r2) const
pure virtual

Second derivative of the radial basis function of the RBF kernel.

Parameters
r2Square of the L2 norm of the difference between two feature vectors.
Returns
Kernel value.
Exceptions
std::domain_errorIf r2 < 0.

Implemented in ml::Kernels::GaussianRBF.


The documentation for this class was generated from the following file: