SG++-Doxygen-Documentation
|
SparseGridMiner models the entire mining process for data mining with sparse grids. More...
#include <SparseGridMiner.hpp>
Public Member Functions | |
ModelFittingBase * | getModel () |
Returns the trained model. More... | |
virtual double | learn (bool verbose)=0 |
Perform Learning cycle: Get samples from data source and based on the scoring procedure, generalize data by fitting and asses quality of the fit. More... | |
SparseGridMiner & | operator= (SparseGridMiner &&rhs)=default |
Default Move assign operator. More... | |
SparseGridMiner & | operator= (const SparseGridMiner &rhs)=delete |
Default copy assign operator deleted because not all members can be copied. More... | |
void | setModel (ModelFittingBase *model) |
SparseGridMiner (ModelFittingBase *fitter, Scorer *scorer) | |
Constructor. More... | |
SparseGridMiner (const SparseGridMiner &rhs)=delete | |
Copy constructor deleted - not all members can be copied or cloned . More... | |
SparseGridMiner (SparseGridMiner &&rhs)=default | |
Default Move constructor . More... | |
double | test (Dataset &testDataset) |
Evaluate the model on a certain test dataset. More... | |
virtual | ~SparseGridMiner ()=default |
Default destructor. More... | |
Protected Attributes | |
std::unique_ptr< ModelFittingBase > | fitter |
Fitter that trains a model based on data samples. More... | |
std::unique_ptr< Scorer > | scorer |
Scorer that quantifies the quality of a fit. More... | |
SparseGridMiner models the entire mining process for data mining with sparse grids.
It aggregates and automates data input, fitting and validation modules and controlls the mining process.
sgpp::datadriven::SparseGridMiner::SparseGridMiner | ( | ModelFittingBase * | fitter, |
Scorer * | scorer | ||
) |
Constructor.
fitter | configured instance of fitter object that generalize the model. The miner instance will take ownership of the passed object. |
scorer | configured instance of scorer object that will assess the quality of the generalization provided by the fitter on testing data. The miner instance will take ownership of the passed object. |
|
delete |
Copy constructor deleted - not all members can be copied or cloned .
rhs | the object to copy from |
|
default |
Default Move constructor .
rhs | the object to move from |
|
virtualdefault |
Default destructor.
ModelFittingBase * sgpp::datadriven::SparseGridMiner::getModel | ( | ) |
Returns the trained model.
|
pure virtual |
Perform Learning cycle: Get samples from data source and based on the scoring procedure, generalize data by fitting and asses quality of the fit.
Implemented in sgpp::datadriven::SparseGridMinerCrossValidation, and sgpp::datadriven::SparseGridMinerSplitting.
|
default |
Default Move assign operator.
rhs | the object to move from |
|
delete |
Default copy assign operator deleted because not all members can be copied.
rhs | the object to copy from |
void sgpp::datadriven::SparseGridMiner::setModel | ( | ModelFittingBase * | model | ) |
References fitter.
double sgpp::datadriven::SparseGridMiner::test | ( | Dataset & | testDataset | ) |
Evaluate the model on a certain test dataset.
testDataset | dataset used quantify accuracy using sgpp::datadriven::Metric. |
|
protected |
Fitter that trains a model based on data samples.
Referenced by sgpp::datadriven::SparseGridMinerCrossValidation::learn(), sgpp::datadriven::SparseGridMinerSplitting::learn(), setModel(), and test().
|
protected |
Scorer that quantifies the quality of a fit.
(e.g. cross validation or training with testing)
Referenced by sgpp::datadriven::SparseGridMinerCrossValidation::learn(), sgpp::datadriven::SparseGridMinerSplitting::learn(), and test().