SG++-Doxygen-Documentation
LSRegressionMinerFromConfigFile.cpp File Reference
#include <sgpp/datadriven/datamining/base/SparseGridMiner.hpp>
#include <sgpp/datadriven/datamining/builder/LeastSquaresRegressionMinerFactory.hpp>
#include <cstdlib>
#include <iostream>
#include <memory>
#include <string>

Functions

int main (int argc, char **argv)
 This example demonstrates how a sgpp::datadriven::SparseGridMiner is constructed using a configuration file and how it is then used. More...
 

Function Documentation

int main ( int  argc,
char **  argv 
)

This example demonstrates how a sgpp::datadriven::SparseGridMiner is constructed using a configuration file and how it is then used.

use immediately invoked lambda expression to get the path to a configuration file.

We need a factory class to actually build the sgpp::datadriven::SparseGridMiner.

The miner object is constructed by the factory from a supplied configuration file.

Once we have a configured miner object, we can start the learning process.

References sgpp::datadriven::MinerFactory::buildMiner().