class Optimizer

Optimizer for the GMTrainer class.

Inheritance:


Public Methods

[more] Optimizer()
[more]virtual void train(List* measurers) = 0
Optimize.
[more]void setMachine(GradientMachine* machine_)
Set the machine.
[more]void setDataSet(DataSet* data_)
Set the data.
[more]void setCriterion(Criterion* criterion_)
Set the criterion.


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

Optimizer for the GMTrainer class.

Given a criterion, a machine (GradientMachine) and a DataSet data, it optimizes the machine with respect to the criterion on the data.

o Optimizer()

ovirtual void train(List* measurers) = 0
Optimize. The measurers measurers will be called during the optimization.

ovoid setMachine(GradientMachine* machine_)
Set the machine. This method could be called at every time before a call to train().

ovoid setDataSet(DataSet* data_)
Set the data. This method could be called at every time before a call to train().

ovoid setCriterion(Criterion* criterion_)
Set the criterion. This method could be called at every time before a call to train().


Direct child classes:
StochasticGradient
Author:
Ronan Collobert (collober@iro.umontreal.ca)
See Also:
GMTrainer

Alphabetic index HTML hierarchy of classes or Java



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