#include <HyperOptimizer.h>
Inheritance diagram for PLearn::HSetVal:
Public Member Functions | |
HSetVal () | |
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 (HSetVal) | |
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 | |
string | param |
string | value |
Private Types | |
typedef HyperOptimizer | inherited |
|
Reimplemented from PLearn::HyperOptimizer. Definition at line 93 of file HyperOptimizer.h. |
|
Definition at line 95 of file HyperOptimizer.h. |
|
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 67 of file HyperOptimizer.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
Optimize the learner with respect to the given hyperparameters and dataset.
Implements PLearn::HyperOptimizer. Definition at line 77 of file HyperOptimizer.cc. References PLearn::HAliases, param, and value. |
|
|
|
Definition at line 103 of file HyperOptimizer.h. Referenced by optimize(). |
|
Definition at line 104 of file HyperOptimizer.h. Referenced by optimize(). |