class QCMachine

"Quadratic Constrained Machine".

Inheritance:


Public Fields

[more]real* Cup
[more]real* Cdown
[more]real bound_eps
[more]int n_alpha
[more]real* alpha
[more]real* grad
[more]real* y
[more]QCCache* cache

Public Methods

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


Inherited from Machine:

Public Fields

oSequence* outputs

Public Methods

ovirtual void forward(Sequence* sequence)
ovirtual void reset()
ovirtual void setDataSet(DataSet* dataset_)


Inherited from Object:

Public Fields

oAllocator* allocator

Public Methods

ovoid addOption(const char* name, int size, void* ptr, const char* help="")
ovoid addIOption(const char* name, int* ptr, int init_value, const char* help="")
ovoid addROption(const char* name, real* ptr, real init_value, const char* help="")
ovoid addBOption(const char* name, bool* ptr, bool init_value, const char* help="")
ovoid addOOption(const char* name, Object** ptr, Object* init_value, const char* help="")
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)
ovoid setOOption(const char* name, Object* option)
ovirtual void loadXFile(XFile* file)
ovirtual void saveXFile(XFile* file)
ovoid load(const char* filename)
ovoid save(const char* filename)
ovoid* operator new(size_t size, Allocator* allocator_=NULL)
ovoid* operator new(size_t size, Allocator* allocator_, void* ptr_)
ovoid operator delete(void* ptr)


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 must be .

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 bound_eps

oint n_alpha

oreal* alpha

oreal* grad

oreal* y

oQCCache* cache

o QCMachine()

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


Direct child classes:
SVM
Author:
Ronan Collobert (collober@idiap.ch)

Alphabetic index HTML hierarchy of classes or Java



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