SG++-Doxygen-Documentation
sgpp::datadriven::HarmonicaHyperparameterOptimizer Class Reference

HarmonicaHyperparameterOptimizer coordinates data input, fitting and validation modules similarly to SparseGridMiner. More...

#include <HarmonicaHyperparameterOptimizer.hpp>

Inheritance diagram for sgpp::datadriven::HarmonicaHyperparameterOptimizer:
sgpp::datadriven::HyperparameterOptimizer

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...
 
HarmonicaHyperparameterOptimizeroperator= (HarmonicaHyperparameterOptimizer &&rhs)=default
 Default Move assign operator. More...
 
HarmonicaHyperparameterOptimizeroperator= (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...
 
HyperparameterOptimizeroperator= (HyperparameterOptimizer &&rhs)=default
 Default Move assign operator. More...
 
HyperparameterOptimizeroperator= (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< FitterFactoryfitterFactory
 FitterFactory to provide fitters for running different hyperparameter configurations. More...
 
std::unique_ptr< SparseGridMinerminer
 Miner providing all testing facilities. More...
 

Detailed Description

HarmonicaHyperparameterOptimizer coordinates data input, fitting and validation modules similarly to SparseGridMiner.

It offers access to different hyperparameter optimization procedures.

Constructor & Destructor Documentation

◆ HarmonicaHyperparameterOptimizer() [1/3]

sgpp::datadriven::HarmonicaHyperparameterOptimizer::HarmonicaHyperparameterOptimizer ( SparseGridMiner miner,
FitterFactory fitterFactory,
DataMiningConfigParser parser 
)

Constructor.

Parameters
minerconfigured instance of SGMiner object, that will provide the learning process. The HyperparameterOptimizer instance will take ownership of the passed object.
fitterFactoryconfigured instance of factory object that provides fitters with manipulated hyperparameters. The HarmonicaHyperparameterOptimizer instance will take ownership of the passed object.
parserreference to parser object to read configuration info

◆ HarmonicaHyperparameterOptimizer() [2/3]

sgpp::datadriven::HarmonicaHyperparameterOptimizer::HarmonicaHyperparameterOptimizer ( const HarmonicaHyperparameterOptimizer rhs)
delete

Copy constructor deleted - not all members can be copied or cloned .

Parameters
rhsthe object to copy from

◆ HarmonicaHyperparameterOptimizer() [3/3]

sgpp::datadriven::HarmonicaHyperparameterOptimizer::HarmonicaHyperparameterOptimizer ( HarmonicaHyperparameterOptimizer &&  rhs)
default

Default Move constructor .

Parameters
rhsthe object to move from

◆ ~HarmonicaHyperparameterOptimizer()

sgpp::datadriven::HarmonicaHyperparameterOptimizer::~HarmonicaHyperparameterOptimizer ( )
overridedefault

Default destructor.

Member Function Documentation

◆ operator=() [1/2]

HarmonicaHyperparameterOptimizer& sgpp::datadriven::HarmonicaHyperparameterOptimizer::operator= ( HarmonicaHyperparameterOptimizer &&  rhs)
default

Default Move assign operator.

Parameters
rhsthe object to move from

◆ operator=() [2/2]

HarmonicaHyperparameterOptimizer& sgpp::datadriven::HarmonicaHyperparameterOptimizer::operator= ( const HarmonicaHyperparameterOptimizer rhs)
delete

Default copy assign operator deleted because not all members can be copied.

Parameters
rhsthe object to copy from

◆ run()


The documentation for this class was generated from the following files: