SG++-Doxygen-Documentation
|
Class to represent a hyperparameter. More...
#include <HyperParameter.hpp>
Public Member Functions | |
HyperParameter () | |
Default constructor for implicit use by data structures. More... | |
HyperParameter (size_t nBits, std::string &name) | |
Normal constructor. More... | |
void | makeConfigBits (std::vector< ConfigurationBit *> &configBits) |
Connects parameter to bit representation in harmonica. More... | |
virtual void | setHarmonica ()=0 |
sets value according to the associated bits More... | |
virtual | ~HyperParameter ()=default |
Default Destructor. More... | |
Protected Attributes | |
std::vector< ConfigurationBit > | bits |
associated configuration bits for harmonica More... | |
std::string | name |
name of the hyperparameter More... | |
size_t | nBits |
number of bits for harmonica More... | |
Class to represent a hyperparameter.
|
inline |
Default constructor for implicit use by data structures.
|
inline |
Normal constructor.
nBits | number of bits for representation in harmonica |
name | name of the hyperparameter |
References makeConfigBits(), setHarmonica(), and ~HyperParameter().
|
virtualdefault |
Default Destructor.
Referenced by HyperParameter().
void sgpp::datadriven::HyperParameter::makeConfigBits | ( | std::vector< ConfigurationBit *> & | configBits | ) |
Connects parameter to bit representation in harmonica.
configBits |
References bits, python.statsfileInfo::i, name, and nBits.
Referenced by HyperParameter().
|
pure virtual |
sets value according to the associated bits
Implemented in sgpp::datadriven::DiscreteParameter, and sgpp::datadriven::ContinuousParameter.
Referenced by HyperParameter().
|
protected |
associated configuration bits for harmonica
Referenced by makeConfigBits(), sgpp::datadriven::ContinuousParameter::setHarmonica(), and sgpp::datadriven::DiscreteParameter::setHarmonica().
|
protected |
name of the hyperparameter
Referenced by makeConfigBits().
|
protected |
number of bits for harmonica
Referenced by sgpp::datadriven::DiscreteParameter::DiscreteParameter(), and makeConfigBits().