![]() |
SG++-Doxygen-Documentation
|
General configuration object for fitters. More...
#include <FitterConfiguration.hpp>
Public Member Functions | |
| virtual FitterConfiguration * | clone () const =0 |
| Polymorphic clone pattern. More... | |
| FitterConfiguration ()=default | |
| Sets up a Fitter configuration with its default values. More... | |
| FitterConfiguration (const FitterConfiguration &rhs)=default | |
| Copy constructor. More... | |
| FitterConfiguration (FitterConfiguration &&rhs)=default | |
| Move constructor. More... | |
| const datadriven::CrossvalidationConfiguration & | getCrossvalidationConfig () const |
| Get how the crossvalidation should behave. More... | |
| datadriven::CrossvalidationConfiguration & | getCrossvalidationConfig () |
| Get or set how the crossvalidation should behave. More... | |
| const datadriven::DatabaseConfiguration & | getDatabaseConfig () const |
| Returns the database configuration, i.e. More... | |
| const datadriven::DensityEstimationConfiguration & | getDensityEstimationConfig () const |
| Get how the density estimation should behave. More... | |
| datadriven::DensityEstimationConfiguration & | getDensityEstimationConfig () |
| Get or set how the density estimation should behave. More... | |
| const base::RegularGridConfiguration & | getGridConfig () const |
| Get initial conditions for the grid before adaptive refinement. More... | |
| base::RegularGridConfiguration & | getGridConfig () |
| Get or set initial conditions for the grid before adaptive refinement. More... | |
| const datadriven::LearnerConfiguration & | getLearnerConfig () const |
| Returns the configuration for the learner's behaviour. More... | |
| const datadriven::OperationMultipleEvalConfiguration & | getMultipleEvalConfig () const |
| Get implementation (openMP, MPI, GPU) that should be used for sgpp::base::OperationMultipleEval. More... | |
| datadriven::OperationMultipleEvalConfiguration & | getMultipleEvalConfig () |
| Get or set implementation (openMP, MPI, GPU) that should be used for sgpp::base::OperationMultipleEval. More... | |
| const base::AdaptivityConfiguration & | getRefinementConfig () const |
| Get how the adaptivity algorithms for the grid should behave. More... | |
| base::AdaptivityConfiguration & | getRefinementConfig () |
| Get or set how the adaptivity algorithms for the grid should behave. More... | |
| const datadriven::RegularizationConfiguration & | getRegularizationConfig () const |
| Get the type of regularization operation to use. More... | |
| datadriven::RegularizationConfiguration & | getRegularizationConfig () |
| Get or set the type of regularization operation to use. More... | |
| const solver::SLESolverConfiguration & | getSolverFinalConfig () const |
| Get configuration for the linear system solver when solving the final, refined system. More... | |
| solver::SLESolverConfiguration & | getSolverFinalConfig () |
| Get or set configuration for the linear system solver when solving the final, refined system. More... | |
| const solver::SLESolverConfiguration & | getSolverRefineConfig () const |
| Get configuration for the linear system solver which should be used while building adaptive grids. More... | |
| solver::SLESolverConfiguration & | getSolverRefineConfig () |
| Get or set configuration for the linear system solver which should be used while building adaptive grids. More... | |
| FitterConfiguration & | operator= (const FitterConfiguration &rhs)=default |
| Copy assign operator. More... | |
| FitterConfiguration & | operator= (FitterConfiguration &&rhs)=default |
| Move assign operator. More... | |
| virtual void | readParams (const DataMiningConfigParser &parser)=0 |
| obtain parameters from a parser More... | |
| virtual void | setupDefaults ()=0 |
| set default values for all members based on the desired scenario. More... | |
| virtual | ~FitterConfiguration ()=default |
| virtual destructor. More... | |
Protected Attributes | |
| base::AdaptivityConfiguration | adaptivityConfig |
| Configure how the adaptivity algorithms for the grid should behave. More... | |
| datadriven::CrossvalidationConfiguration | crossvalidationConfig |
| Configure how the crossvalidation should behave. More... | |
| datadriven::DatabaseConfiguration | databaseConfig |
| Configure where the lhs datamatrix decomposition database is stored. More... | |
| datadriven::DensityEstimationConfiguration | densityEstimationConfig |
| Configure how the density estimation should behave. More... | |
| base::RegularGridConfiguration | gridConfig |
| Initial conditions for the grid before adaptive refinement. More... | |
| datadriven::LearnerConfiguration | learnerConfig |
| Configuration for the learner's behaviour. More... | |
| datadriven::OperationMultipleEvalConfiguration | multipleEvalConfig |
| Determine implementation (openMP, MPI, GPU) that should be used for sgpp::base::OperationMultipleEval. More... | |
| datadriven::RegularizationConfiguration | regularizationConfig |
| Set the type of regularization operation to use and specify the influence of the regularization term vs data term from 0 (no regularization) to 1 (no data term). More... | |
| solver::SLESolverConfiguration | solverFinalConfig |
| Configuration for the linear system solver when solving the final, refined system. More... | |
| solver::SLESolverConfiguration | solverRefineConfig |
| Configuration for the linear system solver which should be used while building adaptive grids. More... | |
General configuration object for fitters.
Bundles all structures needed to build a sparse grid, fit a sparse grid based model, and perform adaptive refinement.
|
default |
Sets up a Fitter configuration with its default values.
|
default |
Copy constructor.
| rhs | const reference to the scorer object to copy from. |
|
default |
Move constructor.
| rhs | R-value reference to a scorer object to moved from. |
|
virtualdefault |
virtual destructor.
|
pure virtual |
Polymorphic clone pattern.
Implemented in sgpp::datadriven::FitterConfigurationClassification, sgpp::datadriven::FitterConfigurationDensityEstimation, and sgpp::datadriven::FitterConfigurationLeastSquares.
| const datadriven::CrossvalidationConfiguration & sgpp::datadriven::FitterConfiguration::getCrossvalidationConfig | ( | ) | const |
Get how the crossvalidation should behave.
References crossvalidationConfig.
Referenced by getCrossvalidationConfig().
| datadriven::CrossvalidationConfiguration & sgpp::datadriven::FitterConfiguration::getCrossvalidationConfig | ( | ) |
Get or set how the crossvalidation should behave.
References getCrossvalidationConfig().
| const datadriven::DatabaseConfiguration & sgpp::datadriven::FitterConfiguration::getDatabaseConfig | ( | ) | const |
Returns the database configuration, i.e.
the filepath
References databaseConfig.
| const datadriven::DensityEstimationConfiguration & sgpp::datadriven::FitterConfiguration::getDensityEstimationConfig | ( | ) | const |
Get how the density estimation should behave.
References densityEstimationConfig.
Referenced by sgpp::datadriven::ModelFittingClassification::fit(), and getDensityEstimationConfig().
| datadriven::DensityEstimationConfiguration & sgpp::datadriven::FitterConfiguration::getDensityEstimationConfig | ( | ) |
Get or set how the density estimation should behave.
References getDensityEstimationConfig().
| const base::RegularGridConfiguration & sgpp::datadriven::FitterConfiguration::getGridConfig | ( | ) | const |
Get initial conditions for the grid before adaptive refinement.
References gridConfig.
Referenced by getGridConfig().
| base::RegularGridConfiguration & sgpp::datadriven::FitterConfiguration::getGridConfig | ( | ) |
Get or set initial conditions for the grid before adaptive refinement.
References getGridConfig().
| const datadriven::LearnerConfiguration & sgpp::datadriven::FitterConfiguration::getLearnerConfig | ( | ) | const |
Returns the configuration for the learner's behaviour.
References learnerConfig.
| const datadriven::OperationMultipleEvalConfiguration & sgpp::datadriven::FitterConfiguration::getMultipleEvalConfig | ( | ) | const |
Get implementation (openMP, MPI, GPU) that should be used for sgpp::base::OperationMultipleEval.
References multipleEvalConfig.
Referenced by getMultipleEvalConfig().
| datadriven::OperationMultipleEvalConfiguration & sgpp::datadriven::FitterConfiguration::getMultipleEvalConfig | ( | ) |
Get or set implementation (openMP, MPI, GPU) that should be used for sgpp::base::OperationMultipleEval.
References getMultipleEvalConfig().
| const base::AdaptivityConfiguration & sgpp::datadriven::FitterConfiguration::getRefinementConfig | ( | ) | const |
Get how the adaptivity algorithms for the grid should behave.
References adaptivityConfig.
Referenced by getRefinementConfig().
| base::AdaptivityConfiguration & sgpp::datadriven::FitterConfiguration::getRefinementConfig | ( | ) |
Get or set how the adaptivity algorithms for the grid should behave.
References getRefinementConfig().
| const datadriven::RegularizationConfiguration & sgpp::datadriven::FitterConfiguration::getRegularizationConfig | ( | ) | const |
Get the type of regularization operation to use.
References regularizationConfig.
Referenced by getRegularizationConfig().
| datadriven::RegularizationConfiguration & sgpp::datadriven::FitterConfiguration::getRegularizationConfig | ( | ) |
Get or set the type of regularization operation to use.
References getRegularizationConfig().
| const solver::SLESolverConfiguration & sgpp::datadriven::FitterConfiguration::getSolverFinalConfig | ( | ) | const |
Get configuration for the linear system solver when solving the final, refined system.
References solverFinalConfig.
Referenced by getSolverFinalConfig().
| solver::SLESolverConfiguration & sgpp::datadriven::FitterConfiguration::getSolverFinalConfig | ( | ) |
Get or set configuration for the linear system solver when solving the final, refined system.
References getSolverFinalConfig().
| const solver::SLESolverConfiguration & sgpp::datadriven::FitterConfiguration::getSolverRefineConfig | ( | ) | const |
Get configuration for the linear system solver which should be used while building adaptive grids.
References solverRefineConfig.
Referenced by getSolverRefineConfig().
| solver::SLESolverConfiguration & sgpp::datadriven::FitterConfiguration::getSolverRefineConfig | ( | ) |
Get or set configuration for the linear system solver which should be used while building adaptive grids.
References getSolverRefineConfig().
|
default |
Copy assign operator.
| rhs | const reference to the scorer object to copy from. |
|
default |
Move assign operator.
| rhs | R-value reference to an a scorer object to move from. |
|
pure virtual |
obtain parameters from a parser
| parser | the parser object to read from |
Implemented in sgpp::datadriven::FitterConfigurationDensityEstimation, and sgpp::datadriven::FitterConfigurationLeastSquares.
|
pure virtual |
set default values for all members based on the desired scenario.
Implemented in sgpp::datadriven::FitterConfigurationClassification, sgpp::datadriven::FitterConfigurationDensityEstimation, and sgpp::datadriven::FitterConfigurationLeastSquares.
|
protected |
Configure how the adaptivity algorithms for the grid should behave.
Referenced by getRefinementConfig(), sgpp::datadriven::FitterConfigurationLeastSquares::readParams(), sgpp::datadriven::FitterConfigurationDensityEstimation::readParams(), sgpp::datadriven::FitterConfigurationLeastSquares::setupDefaults(), and sgpp::datadriven::FitterConfigurationDensityEstimation::setupDefaults().
|
protected |
Configure how the crossvalidation should behave.
Referenced by getCrossvalidationConfig(), and sgpp::datadriven::FitterConfigurationDensityEstimation::setupDefaults().
|
protected |
Configure where the lhs datamatrix decomposition database is stored.
Referenced by getDatabaseConfig(), sgpp::datadriven::FitterConfigurationDensityEstimation::readParams(), and sgpp::datadriven::FitterConfigurationDensityEstimation::setupDefaults().
|
protected |
Configure how the density estimation should behave.
Referenced by getDensityEstimationConfig(), sgpp::datadriven::FitterConfigurationDensityEstimation::readParams(), and sgpp::datadriven::FitterConfigurationDensityEstimation::setupDefaults().
|
protected |
Initial conditions for the grid before adaptive refinement.
Referenced by getGridConfig(), sgpp::datadriven::FitterConfigurationLeastSquares::readParams(), sgpp::datadriven::FitterConfigurationDensityEstimation::readParams(), sgpp::datadriven::FitterConfigurationLeastSquares::setupDefaults(), and sgpp::datadriven::FitterConfigurationDensityEstimation::setupDefaults().
|
protected |
Configuration for the learner's behaviour.
Referenced by getLearnerConfig(), sgpp::datadriven::FitterConfigurationDensityEstimation::readParams(), and sgpp::datadriven::FitterConfigurationDensityEstimation::setupDefaults().
|
protected |
Determine implementation (openMP, MPI, GPU) that should be used for sgpp::base::OperationMultipleEval.
Referenced by getMultipleEvalConfig().
|
protected |
Set the type of regularization operation to use and specify the influence of the regularization term vs data term from 0 (no regularization) to 1 (no data term).
Referenced by getRegularizationConfig(), sgpp::datadriven::FitterConfigurationLeastSquares::readParams(), sgpp::datadriven::FitterConfigurationDensityEstimation::readParams(), sgpp::datadriven::FitterConfigurationLeastSquares::setupDefaults(), and sgpp::datadriven::FitterConfigurationDensityEstimation::setupDefaults().
|
protected |
Configuration for the linear system solver when solving the final, refined system.
Referenced by getSolverFinalConfig(), sgpp::datadriven::FitterConfigurationLeastSquares::readParams(), sgpp::datadriven::FitterConfigurationDensityEstimation::readParams(), sgpp::datadriven::FitterConfigurationLeastSquares::setupDefaults(), and sgpp::datadriven::FitterConfigurationDensityEstimation::setupDefaults().
|
protected |
Configuration for the linear system solver which should be used while building adaptive grids.
Referenced by getSolverRefineConfig(), sgpp::datadriven::FitterConfigurationLeastSquares::readParams(), sgpp::datadriven::FitterConfigurationDensityEstimation::readParams(), sgpp::datadriven::FitterConfigurationLeastSquares::setupDefaults(), and sgpp::datadriven::FitterConfigurationDensityEstimation::setupDefaults().