SG++-Doxygen-Documentation
|
HyperparameterOptimizer uses fitters provided by a fitterFactory to test in a SparseGridMiner It offers access to different hyperparameter optimization procedures. More...
#include <HyperparameterOptimizer.hpp>
Public Member Functions | |
HyperparameterOptimizer (SparseGridMiner *miner, FitterFactory *fitterFactory, DataMiningConfigParser &parser) | |
Constructor. More... | |
HyperparameterOptimizer (const HyperparameterOptimizer &rhs)=delete | |
Copy constructor deleted - not all members can be copied or cloned . More... | |
HyperparameterOptimizer (HyperparameterOptimizer &&rhs)=default | |
Default Move constructor . More... | |
HyperparameterOptimizer & | operator= (HyperparameterOptimizer &&rhs)=default |
Default Move assign operator. More... | |
HyperparameterOptimizer & | operator= (const HyperparameterOptimizer &rhs)=delete |
Default copy assign operator deleted because not all members can be copied. More... | |
virtual double | run (bool writeToFile)=0 |
Run hyperparameter optimization. More... | |
virtual | ~HyperparameterOptimizer ()=default |
Default destructor. More... | |
Protected Attributes | |
HPOConfig | config |
Configuration for all hpo details. More... | |
std::unique_ptr< FitterFactory > | fitterFactory |
FitterFactory to provide fitters for running different hyperparameter configurations. More... | |
std::unique_ptr< SparseGridMiner > | miner |
Miner providing all testing facilities. More... | |
HyperparameterOptimizer uses fitters provided by a fitterFactory to test in a SparseGridMiner It offers access to different hyperparameter optimization procedures.
sgpp::datadriven::HyperparameterOptimizer::HyperparameterOptimizer | ( | SparseGridMiner * | miner, |
FitterFactory * | fitterFactory, | ||
DataMiningConfigParser & | parser | ||
) |
Constructor.
miner | configured instance of SGMiner object, that will provide the learning process. The HyperparameterOptimizer instance will take ownership of the passed object. |
fitterFactory | configured instance of factory object that provides fitters with manipulated hyperparameters. The HyperparameterOptimizer instance will take ownership of the passed object. |
parser | reference to parser object to read configuration info |
References config, sgpp::datadriven::DataMiningConfigParser::getHPOConfig(), and sgpp::datadriven::HPOConfig::setupDefaults().
|
delete |
Copy constructor deleted - not all members can be copied or cloned .
rhs | the object to copy from |
|
default |
Default Move constructor .
rhs | the object to move from |
|
virtualdefault |
Default destructor.
|
default |
Default Move assign operator.
rhs | the object to move from |
|
delete |
Default copy assign operator deleted because not all members can be copied.
rhs | the object to copy from |
|
pure virtual |
Run hyperparameter optimization.
Implemented in sgpp::datadriven::HarmonicaHyperparameterOptimizer, and sgpp::datadriven::BoHyperparameterOptimizer.
|
protected |
Configuration for all hpo details.
Referenced by HyperparameterOptimizer(), sgpp::datadriven::BoHyperparameterOptimizer::run(), and sgpp::datadriven::HarmonicaHyperparameterOptimizer::run().
|
protected |
FitterFactory to provide fitters for running different hyperparameter configurations.
Referenced by sgpp::datadriven::BoHyperparameterOptimizer::run(), and sgpp::datadriven::HarmonicaHyperparameterOptimizer::run().
|
protected |
Miner providing all testing facilities.
Referenced by sgpp::datadriven::BoHyperparameterOptimizer::run(), and sgpp::datadriven::HarmonicaHyperparameterOptimizer::run().