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

PLearn::HyperOptimizer Class Reference

#include <HyperOptimizer.h>

Inheritance diagram for PLearn::HyperOptimizer:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

 PLEARN_DECLARE_ABSTRACT_OBJECT (HyperOptimizer)

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)


Public Attributes

PP< TestMethodobjective
HStrategy substrategy

Private Types

typedef Object inherited

Member Typedef Documentation

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

Reimplemented from PLearn::Object.

Reimplemented in PLearn::HSetVal, PLearn::HTryAll, PLearn::HCoordinateDescent, and PLearn::HTryCombinations.

Definition at line 64 of file HyperOptimizer.h.


Constructor & Destructor Documentation

PLearn::HyperOptimizer::HyperOptimizer  )  [inline]
 

Definition at line 66 of file HyperOptimizer.h.


Member Function Documentation

void PLearn::HyperOptimizer::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::Object.

Reimplemented in PLearn::HSetVal, PLearn::HTryAll, PLearn::HCoordinateDescent, and PLearn::HTryCombinations.

Definition at line 52 of file HyperOptimizer.cc.

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

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

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

Implemented in PLearn::HSetVal, PLearn::HTryAll, PLearn::HCoordinateDescent, and PLearn::HTryCombinations.

PLearn::HyperOptimizer::PLEARN_DECLARE_ABSTRACT_OBJECT HyperOptimizer   ) 
 


Member Data Documentation

PP<TestMethod> PLearn::HyperOptimizer::objective
 

Definition at line 73 of file HyperOptimizer.h.

HStrategy PLearn::HyperOptimizer::substrategy
 

Definition at line 74 of file HyperOptimizer.h.


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