kernel.h File Reference

Kernels for SVM etc. More...

#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
struct  Polynomial
struct  Stump
struct  Perceptron
struct  RBF
struct  Sigmoid

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)


Detailed Description

Kernels for SVM etc.

Id
kernel.h 2499 2005-11-13 09:21:35Z ling

Definition in file kernel.h.


Define Documentation

#define DOTPROD x,
 )     std::inner_product(x.begin(), x.end(), y.begin(), .0)
 

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().


Generated on Mon Jan 9 23:43:48 2006 for LEMGA by  doxygen 1.4.6