#include <cmath>
#include <numeric>
#include "learnmodel.h"
Include dependency graph for kernel.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | lemga |
namespace | lemga::kernel |
Classes | |
class | Kernel |
The operator() gives the inner-product in the transformed space. More... | |
struct | Linear |
Linear kernel ![]() | |
struct | Polynomial |
Polynomial kernel ![]() | |
struct | Stump |
Stump kernel ![]() | |
struct | Perceptron |
Perceptron kernel ![]() | |
struct | RBF |
RBF (Gausssian) kernel ![]() | |
struct | Sigmoid |
Sigmoid kernel ![]() | |
Defines | |
#define | DOTPROD(x, y) std::inner_product(x.begin(), x.end(), y.begin(), .0) |
Functions | |
REAL | lemga::kernel::norm_1 (const Input &u, const Input &v) |
REAL | lemga::kernel::norm_2 (const Input &u, const Input &v) |
Definition in file kernel.h.
|
Definition at line 15 of file kernel.h. Referenced by RBF::matrix(), Perceptron::matrix(), normalize(), Sigmoid::operator()(), Polynomial::operator()(), Linear::operator()(), randrot(), Perceptron::set_data(), and lemga::update_wgt(). |