SG++-Doxygen-Documentation
|
#include <MetaLearner.hpp>
Public Member Functions | |
base::DataVector & | getLearnedAlpha () |
sgpp::base::Grid & | getLearnedGrid () |
LearnerTiming | getLearnerReferenceTiming () |
LearnerTiming | getLearnerTiming () |
void | learn (sgpp::datadriven::OperationMultipleEvalConfiguration &operationConfiguration, std::string &datasetFileName, bool isRegression=true) |
double | learnAndCompare (sgpp::datadriven::OperationMultipleEvalConfiguration &operationConfiguration, std::string &datasetFileName, size_t gridGranularity) |
double | learnAndCompareString (sgpp::datadriven::OperationMultipleEvalConfiguration &operationConfiguration, std::string &content, size_t gridGranularity) |
void | learnAndTest (sgpp::datadriven::OperationMultipleEvalConfiguration &operationConfiguration, std::string &datasetFileName, std::string &testFileName, bool isRegression=true) |
void | learnAndTestString (sgpp::datadriven::OperationMultipleEvalConfiguration &operationConfiguration, std::string &dataContent, std::string &testContent, bool isRegression=true) |
void | learnReference (std::string &fileName, bool isRegression=true) |
void | learnReferenceString (std::string &content, bool isRegression=true) |
void | learnString (sgpp::datadriven::OperationMultipleEvalConfiguration &operationConfiguration, std::string &content, bool isRegression=true) |
MetaLearner ()=delete | |
MetaLearner (sgpp::base::RegularGridConfiguration gridConfig, sgpp::solver::SLESolverConfiguration solverConfig, sgpp::solver::SLESolverConfiguration solverFinalStep, sgpp::base::AdaptivityConfiguration adaptivityConfiguration, double lambda, bool verbose=false) | |
~MetaLearner () | |
|
delete |
sgpp::datadriven::MetaLearner::MetaLearner | ( | sgpp::base::RegularGridConfiguration | gridConfig, |
sgpp::solver::SLESolverConfiguration | solverConfig, | ||
sgpp::solver::SLESolverConfiguration | solverFinalStep, | ||
sgpp::base::AdaptivityConfiguration | adaptivityConfiguration, | ||
double | lambda, | ||
bool | verbose = false |
||
) |
|
inline |
base::DataVector & sgpp::datadriven::MetaLearner::getLearnedAlpha | ( | ) |
Referenced by ~MetaLearner().
base::Grid & sgpp::datadriven::MetaLearner::getLearnedGrid | ( | ) |
Referenced by ~MetaLearner().
LearnerTiming sgpp::datadriven::MetaLearner::getLearnerReferenceTiming | ( | ) |
Referenced by ~MetaLearner().
LearnerTiming sgpp::datadriven::MetaLearner::getLearnerTiming | ( | ) |
Referenced by ~MetaLearner().
void sgpp::datadriven::MetaLearner::learn | ( | sgpp::datadriven::OperationMultipleEvalConfiguration & | operationConfiguration, |
std::string & | datasetFileName, | ||
bool | isRegression = true |
||
) |
References learnString().
Referenced by main(), and ~MetaLearner().
double sgpp::datadriven::MetaLearner::learnAndCompare | ( | sgpp::datadriven::OperationMultipleEvalConfiguration & | operationConfiguration, |
std::string & | datasetFileName, | ||
size_t | gridGranularity | ||
) |
References learnAndCompareString().
Referenced by main(), and ~MetaLearner().
double sgpp::datadriven::MetaLearner::learnAndCompareString | ( | sgpp::datadriven::OperationMultipleEvalConfiguration & | operationConfiguration, |
std::string & | content, | ||
size_t | gridGranularity | ||
) |
void sgpp::datadriven::MetaLearner::learnAndTest | ( | sgpp::datadriven::OperationMultipleEvalConfiguration & | operationConfiguration, |
std::string & | datasetFileName, | ||
std::string & | testFileName, | ||
bool | isRegression = true |
||
) |
References learnAndTestString().
Referenced by main(), and ~MetaLearner().
void sgpp::datadriven::MetaLearner::learnAndTestString | ( | sgpp::datadriven::OperationMultipleEvalConfiguration & | operationConfiguration, |
std::string & | dataContent, | ||
std::string & | testContent, | ||
bool | isRegression = true |
||
) |
References sgpp::base::GeneralGridConfiguration::dim_, sgpp::base::DataVector::get(), sgpp::datadriven::Dataset::getData(), sgpp::datadriven::Dataset::getDimension(), sgpp::base::DataMatrix::getNrows(), sgpp::datadriven::Dataset::getNumberInstances(), sgpp::datadriven::Dataset::getTargets(), python.statsfileInfo::i, learnString(), sgpp::datadriven::mse, and sgpp::datadriven::ARFFTools::readARFFFromString().
Referenced by learnAndTest(), and ~MetaLearner().
void sgpp::datadriven::MetaLearner::learnReference | ( | std::string & | fileName, |
bool | isRegression = true |
||
) |
References learnReferenceString().
Referenced by ~MetaLearner().
void sgpp::datadriven::MetaLearner::learnReferenceString | ( | std::string & | content, |
bool | isRegression = true |
||
) |
References dataset, sgpp::datadriven::DEFAULT, sgpp::base::GeneralGridConfiguration::dim_, sgpp::datadriven::Dataset::getData(), sgpp::datadriven::Dataset::getDimension(), sgpp::datadriven::Dataset::getNumberInstances(), sgpp::datadriven::Dataset::getTargets(), sgpp::datadriven::NONE, sgpp::datadriven::ARFFTools::readARFFFromString(), and trainingData.
Referenced by learnAndCompareString(), learnReference(), and ~MetaLearner().
void sgpp::datadriven::MetaLearner::learnString | ( | sgpp::datadriven::OperationMultipleEvalConfiguration & | operationConfiguration, |
std::string & | content, | ||
bool | isRegression = true |
||
) |
References dataset, sgpp::base::GeneralGridConfiguration::dim_, sgpp::datadriven::Dataset::getData(), sgpp::datadriven::Dataset::getDimension(), sgpp::datadriven::Dataset::getNumberInstances(), sgpp::datadriven::Dataset::getTargets(), sgpp::datadriven::ARFFTools::readARFFFromString(), and trainingData.
Referenced by learn(), learnAndCompareString(), learnAndTestString(), and ~MetaLearner().