class SVMClassification

SVM in classification.

Inheritance:


Public Methods

[more] SVMClassification(Kernel* kernel_, real* C_=NULL)


Inherited from SVM:

Public Fields

oDataSet* data
oKernel* kernel
oreal C_cst
oreal b
oint* support_vectors
oint* real_index
oint n_support_vectors
oint n_support_vectors_bound

Public Methods

obool bCompute()


Inherited from QCMachine:

Public Fields

oreal* Cup
oreal* Cdown
oreal eps_bornes
oint l
oreal* alpha
oreal* grad
oreal* y

Public Methods

ovirtual void checkSupportVectors()


Inherited from Machine:

Public Fields

oint n_inputs
oint n_outputs
oList* outputs

Public Methods

ovirtual void forward(List* inputs)
ovirtual void reset()


Inherited from Object:

Public Methods

ovirtual void init()
ovoid addOption(const char* name, int size, void* ptr, const char* help="", bool is_allowed_after_init=false)
ovoid addIOption(const char* name, int* ptr, int init_value, const char* help="", bool is_allowed_after_init=false)
ovoid addROption(const char* name, real* ptr, real init_value, const char* help="", bool is_allowed_after_init=false)
ovoid addBOption(const char* name, bool* ptr, bool init_value, const char* help="", bool is_allowed_after_init=false)
ovoid setOption(const char* name, void* ptr)
ovoid setIOption(const char* name, int option)
ovoid setROption(const char* name, real option)
ovoid setBOption(const char* name, bool option)
ovirtual void loadFILE(FILE* file)
ovirtual void saveFILE(FILE* file)
ovoid load(const char* filename)
ovoid save(const char* filename)


Documentation

SVM in classification.

Try to find the hyperplane as minimize

(where if , else )

(in fact, we use a kernel instead of a dot product)

The coefficients are given in C_ when you call the constructor. If this one is NULL, then the value given by the "C" option is used for all . (The size of C_ must be data->n_real_examples)

o SVMClassification(Kernel* kernel_, real* C_=NULL)


This class has no child classes.
Author:
Ronan Collobert (collober@iro.umontreal.ca)

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.