class QCMachine

"Quadratic Constrained Machine".

Inheritance:


Public Fields

[more]real* Cup
[more]real* Cdown
[more]real eps_bornes
[more]int l
[more]real* alpha
[more]real* grad
[more]real* y

Public Methods

[more] QCMachine()
[more]virtual void checkSupportVectors() = 0
Function called by QCTrainer after the optimization.


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

"Quadratic Constrained Machine". It's a machine with alpha parameters which are the minimum of a constrained quadratic problem.

The problem:

minimize

with the following constraints:

where , , are given by the user and .

The number of alpha variable is determined here by l. (Therefore, it determines the size of de Cup, Cdown et y...)

Note: if is closed to [ou ] with the accuracy "eps bounds", is considered to be equal to [ou ].

Options:
"eps bounds" real bound accuracy: [1E-4 in float, 1E-12 in double]

oreal* Cup

oreal* Cdown

oreal eps_bornes

oint l

oreal* alpha

oreal* grad

oreal* y

o QCMachine()

ovirtual void checkSupportVectors() = 0
Function called by QCTrainer after the optimization.
See Also:
QCTrainer


Direct child classes:
SVM
Author:
Ronan Collobert (collober@iro.umontreal.ca)

Alphabetic index HTML hierarchy of classes or Java



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