SG++-Doxygen-Documentation
|
HarmonicaHyperparameterOptimizer coordinates data input, fitting and validation modules similarly to SparseGridMiner. More...
#include <HarmonicaHyperparameterOptimizer.hpp>
Public Member Functions | |
HarmonicaHyperparameterOptimizer (SparseGridMiner *miner, FitterFactory *fitterFactory, DataMiningConfigParser &parser) | |
Constructor. More... | |
HarmonicaHyperparameterOptimizer (const HarmonicaHyperparameterOptimizer &rhs)=delete | |
Copy constructor deleted - not all members can be copied or cloned . More... | |
HarmonicaHyperparameterOptimizer (HarmonicaHyperparameterOptimizer &&rhs)=default | |
Default Move constructor . More... | |
HarmonicaHyperparameterOptimizer & | operator= (HarmonicaHyperparameterOptimizer &&rhs)=default |
Default Move assign operator. More... | |
HarmonicaHyperparameterOptimizer & | operator= (const HarmonicaHyperparameterOptimizer &rhs)=delete |
Default copy assign operator deleted because not all members can be copied. More... | |
double | run (bool writeToFile) override |
Run hyperparameter optimization using Harmonica. More... | |
~HarmonicaHyperparameterOptimizer () override=default | |
Default destructor. More... | |
Public Member Functions inherited from sgpp::datadriven::HyperparameterOptimizer | |
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 | ~HyperparameterOptimizer ()=default |
Default destructor. More... | |
Additional Inherited Members | |
Protected Attributes inherited from sgpp::datadriven::HyperparameterOptimizer | |
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... | |
HarmonicaHyperparameterOptimizer coordinates data input, fitting and validation modules similarly to SparseGridMiner.
It offers access to different hyperparameter optimization procedures.
sgpp::datadriven::HarmonicaHyperparameterOptimizer::HarmonicaHyperparameterOptimizer | ( | 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 HarmonicaHyperparameterOptimizer instance will take ownership of the passed object. |
parser | reference to parser object to read configuration info |
|
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 |
|
overridedefault |
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 |
|
overridevirtual |
Run hyperparameter optimization using Harmonica.
Implements sgpp::datadriven::HyperparameterOptimizer.
References sgpp::datadriven::HyperparameterOptimizer::config, sgpp::datadriven::HyperparameterOptimizer::fitterFactory, sgpp::datadriven::HPOConfig::getConstraints(), sgpp::datadriven::HPOConfig::getLambda(), sgpp::datadriven::HPOConfig::getSeed(), sgpp::datadriven::HPOConfig::getStages(), python.statsfileInfo::i, and sgpp::datadriven::HyperparameterOptimizer::miner.