Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::HCoordinateDescent Class Reference

#include <HyperOptimizer.h>

Inheritance diagram for PLearn::HCoordinateDescent:

Inheritance graph
[legend]
Collaboration diagram for PLearn::HCoordinateDescent:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 HCoordinateDescent ()
virtual void optimize (PP< Learner > learner, const VMat &dataset, const HAliases &aliases)
 Optimize the learner with respect to the given hyperparameters and dataset.

 PLEARN_DECLARE_OBJECT (HCoordinateDescent)

Static Public Member Functions

void declareOptions (OptionList &ol)
 redefine this in subclasses: call declareOption(...) for each option, and then call inherited::declareOptions(options) ( see the declareOption function further down)


Protected Attributes

int max_iterations
HStrategy substragegy

Private Types

typedef HyperOptimizer inherited

Member Typedef Documentation

typedef HyperOptimizer PLearn::HCoordinateDescent::inherited [private]
 

Reimplemented from PLearn::HyperOptimizer.

Definition at line 140 of file HyperOptimizer.h.


Constructor & Destructor Documentation

PLearn::HCoordinateDescent::HCoordinateDescent  )  [inline]
 

Definition at line 142 of file HyperOptimizer.h.

References max_iterations.


Member Function Documentation

void PLearn::HCoordinateDescent::declareOptions OptionList ol  )  [static]
 

redefine this in subclasses: call declareOption(...) for each option, and then call inherited::declareOptions(options) ( see the declareOption function further down)

ex: static void declareOptions(OptionList& ol) { declareOption(ol, "inputsize", &MyObject::inputsize_, OptionBase::buildoption, "the size of the input\n it must be provided"); declareOption(ol, "weights", &MyObject::weights, OptionBase::learntoption, "the learnt model weights"); inherited::declareOptions(ol); }

Reimplemented from PLearn::HyperOptimizer.

Definition at line 117 of file HyperOptimizer.cc.

References PLearn::declareOption(), and PLearn::OptionList.

void PLearn::HCoordinateDescent::optimize PP< Learner learner,
const VMat dataset,
const HAliases aliases
[virtual]
 

Optimize the learner with respect to the given hyperparameters and dataset.

Implements PLearn::HyperOptimizer.

Definition at line 127 of file HyperOptimizer.cc.

References PLearn::HAliases, max_iterations, and PLearn::TVec< T >::size().

PLearn::HCoordinateDescent::PLEARN_DECLARE_OBJECT HCoordinateDescent   ) 
 


Member Data Documentation

int PLearn::HCoordinateDescent::max_iterations [protected]
 

Definition at line 151 of file HyperOptimizer.h.

Referenced by HCoordinateDescent(), and optimize().

HStrategy PLearn::HCoordinateDescent::substragegy [protected]
 

Definition at line 152 of file HyperOptimizer.h.


The documentation for this class was generated from the following files:
Generated on Tue Aug 17 16:24:15 2004 for PLearn by doxygen 1.3.7