Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | Private Attributes
Kernel Class Reference
Inheritance diagram for Kernel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual Qfloatget_Q (int column, int len) const =0
virtual Qfloatget_QD () const =0
 Kernel (int l, svm_node *const *x, const svm_parameter &param)
virtual void swap_index (int i, int j) const
virtual ~Kernel ()

Static Public Member Functions

static double k_function (const svm_node *x, const svm_node *y, const svm_parameter &param)

Protected Attributes

double(Kernel::* kernel_function )(int i, int j) const

Private Member Functions

double kernel_linear (int i, int j) const
double kernel_poly (int i, int j) const
double kernel_precomputed (int i, int j) const
double kernel_rbf (int i, int j) const
double kernel_sigmoid (int i, int j) const

Static Private Member Functions

static double dot (const svm_node *px, const svm_node *py)

Private Attributes

const double coef0
const int degree
const double gamma
const int kernel_type
const svm_node ** x
double * x_square

Detailed Description

Definition at line 195 of file svm.cpp.


Constructor & Destructor Documentation

Kernel::Kernel ( int  l,
svm_node *const *  x,
const svm_parameter param 
)

Definition at line 246 of file svm.cpp.

Kernel::~Kernel ( ) [virtual]

Definition at line 281 of file svm.cpp.


Member Function Documentation

double Kernel::dot ( const svm_node px,
const svm_node py 
) [static, private]

Definition at line 287 of file svm.cpp.

virtual Qfloat* Kernel::get_Q ( int  column,
int  len 
) const [pure virtual]

Implements QMatrix.

Implemented in SVR_Q, ONE_CLASS_Q, and SVC_Q.

virtual Qfloat* Kernel::get_QD ( ) const [pure virtual]

Implements QMatrix.

Implemented in SVR_Q, ONE_CLASS_Q, and SVC_Q.

double Kernel::k_function ( const svm_node x,
const svm_node y,
const svm_parameter param 
) [static]

Definition at line 309 of file svm.cpp.

double Kernel::kernel_linear ( int  i,
int  j 
) const [inline, private]

Definition at line 224 of file svm.cpp.

double Kernel::kernel_poly ( int  i,
int  j 
) const [inline, private]

Definition at line 228 of file svm.cpp.

double Kernel::kernel_precomputed ( int  i,
int  j 
) const [inline, private]

Definition at line 240 of file svm.cpp.

double Kernel::kernel_rbf ( int  i,
int  j 
) const [inline, private]

Definition at line 232 of file svm.cpp.

double Kernel::kernel_sigmoid ( int  i,
int  j 
) const [inline, private]

Definition at line 236 of file svm.cpp.

virtual void Kernel::swap_index ( int  i,
int  j 
) const [inline, virtual]

Implements QMatrix.

Reimplemented in SVR_Q, ONE_CLASS_Q, and SVC_Q.

Definition at line 204 of file svm.cpp.


Member Data Documentation

const double Kernel::coef0 [private]

Definition at line 221 of file svm.cpp.

const int Kernel::degree [private]

Definition at line 219 of file svm.cpp.

const double Kernel::gamma [private]

Definition at line 220 of file svm.cpp.

double(Kernel::* Kernel::kernel_function)(int i, int j) const [protected]

Definition at line 211 of file svm.cpp.

const int Kernel::kernel_type [private]

Definition at line 218 of file svm.cpp.

const svm_node** Kernel::x [private]

Definition at line 214 of file svm.cpp.

double* Kernel::x_square [private]

Definition at line 215 of file svm.cpp.


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


cl_libsvm
Author(s): Gabor Melis
autogenerated on Mon Jan 6 2014 11:41:44