This class implements a boolean representation of hyperparameters for harmonica.
More...
#include <ConfigurationBit.hpp>
This class implements a boolean representation of hyperparameters for harmonica.
◆ ConfigurationBit()
sgpp::datadriven::ConfigurationBit::ConfigurationBit |
( |
std::string |
name | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
name | to indentify the hyperparameter represented by this bit |
◆ addConstraint()
Adds a reference to a new constraint limiting this bit.
- Parameters
-
◆ findComplexinner()
void sgpp::datadriven::ConfigurationBit::findComplexinner |
( |
std::string |
id, |
|
|
int |
bias |
|
) |
| |
◆ getName()
std::string sgpp::datadriven::ConfigurationBit::getName |
( |
| ) |
|
Get the name used to identify which hyperparameter is represented by this bit.
- Returns
- name of the bit
◆ getValue()
int sgpp::datadriven::ConfigurationBit::getValue |
( |
| ) |
|
Get the value of this bit.
- Returns
◆ removeLastConstraint()
void sgpp::datadriven::ConfigurationBit::removeLastConstraint |
( |
| ) |
|
removes last constraint (in case it was not valid)
◆ reset()
void sgpp::datadriven::ConfigurationBit::reset |
( |
| ) |
|
reset the value of this bit
◆ setValue()
void sgpp::datadriven::ConfigurationBit::setValue |
( |
int |
input | ) |
|
Set the value of this bit.
- Parameters
-
The documentation for this class was generated from the following files: