Radial basis function. More...
#include <Kernels.hpp>

Public Member Functions | |
| virtual | ~RadialBasisFunction () |
| Virtual destructor. | |
| virtual double | value (double r2) const =0 |
| Radial basis function of the RBF kernel. More... | |
Radial basis function.
|
pure virtual |
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.