SG++
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::RegularGridConfiguration &gridConfig, const sgpp::base::AdpativityConfiguration &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

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, and sgpp::datadriven::StringTokenizer::tokenize().

Referenced by sgpp::datadriven::LearnerSGDEOnOff::LearnerSGDEOnOff().

DBMatOffline * sgpp::datadriven::DBMatOfflineFactory::buildOfflineObject ( const sgpp::base::RegularGridConfiguration gridConfig,
const sgpp::base::AdpativityConfiguration 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, and sgpp::datadriven::OrthoAdapt.

Referenced by sgpp::datadriven::LearnerSGDEOnOff::LearnerSGDEOnOff(), and sgpp::datadriven::ModelFittingDensityEstimation::ModelFittingDensityEstimation().