SG++-Doxygen-Documentation
sgpp::datadriven::DBMatOfflineFactory Namespace Reference

factories to build the specialization of the DBMatOffline objects. More...

Functions

DBMatOfflinebuildFromFile (const std::string &fname)
 Read a serialized DBMatOffline object and construct a new object with the information. More...
 
DBMatOfflinebuildOfflineObject (const sgpp::base::GeneralGridConfiguration &gridConfig, const sgpp::base::AdaptivityConfiguration &adaptivityConfig, const sgpp::datadriven::RegularizationConfiguration &regularizationConfig, const sgpp::datadriven::DensityEstimationConfiguration &densityEstimationConfig)
 Based on the configuration file, build the appropriate DBMatOffline object and return it. More...
 

Detailed Description

factories to build the specialization of the DBMatOffline objects.

Function Documentation

◆ buildFromFile()

DBMatOffline * sgpp::datadriven::DBMatOfflineFactory::buildFromFile ( const std::string &  fname)

Read a serialized DBMatOffline object and construct a new object with the information.

Parameters
fnamePath to the serialized DBMatOffline object.
Returns
new instance of DBMatOffline implementor owned by caller.

References sgpp::datadriven::Chol, sgpp::datadriven::DenseIchol, sgpp::datadriven::Eigen, analyse_erg::file, sgpp::datadriven::LU, sgpp::datadriven::OrthoAdapt, sgpp::datadriven::StringTokenizer::tokenize(), and create_dataset::type.

Referenced by sgpp::datadriven::ModelFittingDensityEstimationOnOff::fit().

◆ buildOfflineObject()

DBMatOffline * sgpp::datadriven::DBMatOfflineFactory::buildOfflineObject ( const sgpp::base::GeneralGridConfiguration gridConfig,
const sgpp::base::AdaptivityConfiguration adaptivityConfig,
const sgpp::datadriven::RegularizationConfiguration regularizationConfig,
const sgpp::datadriven::DensityEstimationConfiguration densityEstimationConfig 
)

Based on the configuration file, build the appropriate DBMatOffline object and return it.

Parameters
gridConfigThe configuration of the grid
adaptivityConfigThe configuration of the grid adaptivity
regularizationConfigThe configuration of the grid regularization
densityEstimationConfigThe configuration of the matrix decomposition
Returns
new instance of DBMatOffline implementor owned by caller.

References sgpp::datadriven::Chol, sgpp::datadriven::DensityEstimationConfiguration::decomposition_, sgpp::datadriven::DenseIchol, sgpp::datadriven::Eigen, sgpp::datadriven::LU, sgpp::datadriven::OrthoAdapt, and create_dataset::type.

Referenced by sgpp::datadriven::ModelFittingDensityEstimationOnOff::fit(), sgpp::datadriven::LearnerSGDEOnOffParallel::LearnerSGDEOnOffParallel(), and main().