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

Concrete factory to build instances of sgpp::datadriven::ModelFittingLeastSquares. More...

#include <LeastSquaresRegressionFitterFactory.hpp>

Inheritance diagram for sgpp::datadriven::LeastSquaresRegressionFitterFactory:
sgpp::datadriven::FitterFactory

Public Member Functions

ModelFittingBasebuildFitter () override
 Assemble a sgpp::datadriven::ModelFittingLeastSquares object based on the configuration determined by a previous set_() call. More...
 
 LeastSquaresRegressionFitterFactory (const DataMiningConfigParser &parser)
 Default constructor. More...
 
- Public Member Functions inherited from sgpp::datadriven::FitterFactory
 FitterFactory ()=default
 Default constructor. More...
 
BOConfig getBOConfig ()
 Gets a compact representation of the hyperparameter configuration space. More...
 
virtual void getConfigBits (std::vector< ConfigurationBit *> &configBits)
 Setup connection to hyperparameter classes for modifying them through boolean represenations. More...
 
std::string printConfig ()
 Outputs information about the current hyperparameter configuration. More...
 
std::string printHeadline ()
 Outputs the names of the hyperparameters. More...
 
void setBO (BOConfig &config)
 Adjusts current hyperparameter configuration according to the input. More...
 
void setHarmonica ()
 Adjusts the current hyperparameter configuration according to the configBits. More...
 
virtual ~FitterFactory ()=default
 Virtual destructor. More...
 

Protected Attributes

FitterConfigurationLeastSquares baseConfig
 Configuration for all parameters that are not optimized. More...
 
- Protected Attributes inherited from sgpp::datadriven::FitterFactory
std::vector< base::GridTypebasisFunctions
 Container for GridTypes specifically for the basis function hyperparameter. More...
 
std::vector< int > catOptions
 numer of options for all categorical parameters More...
 
std::map< std::string, DiscreteParametercatpar
 map to store hyperparameters defined on a discrete domain without inherent ordering (categorical) More...
 
std::map< std::string, ContinuousParameterconpar
 map to store hyperparameters defined on a continuous domain More...
 
std::vector< int > discOptions
 number of options for all discrete parameters More...
 
std::map< std::string, DiscreteParameterdispar
 map to store hyperparameters defined on a discrete domain More...
 

Detailed Description

Concrete factory to build instances of sgpp::datadriven::ModelFittingLeastSquares.

Constructor & Destructor Documentation

◆ LeastSquaresRegressionFitterFactory()

sgpp::datadriven::LeastSquaresRegressionFitterFactory::LeastSquaresRegressionFitterFactory ( const DataMiningConfigParser parser)
explicit

Member Function Documentation

◆ buildFitter()

ModelFittingBase * sgpp::datadriven::LeastSquaresRegressionFitterFactory::buildFitter ( )
overridevirtual

Member Data Documentation

◆ baseConfig

FitterConfigurationLeastSquares sgpp::datadriven::LeastSquaresRegressionFitterFactory::baseConfig
protected

Configuration for all parameters that are not optimized.

Referenced by buildFitter().


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