SG++
sgpp::datadriven::MinerFactory Class Referenceabstract

Abstract factory to build different kinds of Miners based on a configuration which is parsed from a file. More...

#include <MinerFactory.hpp>

Inheritance diagram for sgpp::datadriven::MinerFactory:
sgpp::datadriven::DensityEstimationMinerFactory sgpp::datadriven::LeastSquaresRegressionMinerFactory

Public Member Functions

virtual SparseGridMinerbuildMiner (const std::string &path) const =0
 Factory method to build a miner object based on a configuration file. More...
 
 MinerFactory ()=default
 Default constructor. More...
 
virtual ~MinerFactory ()=default
 Virtual destructor. More...
 

Detailed Description

Abstract factory to build different kinds of Miners based on a configuration which is parsed from a file.

A miner consists of a data source, a fitter and a scorer. A concrete Factory class has to implement the required interfaces.

Constructor & Destructor Documentation

sgpp::datadriven::MinerFactory::MinerFactory ( )
default

Default constructor.

virtual sgpp::datadriven::MinerFactory::~MinerFactory ( )
virtualdefault

Virtual destructor.

Member Function Documentation

virtual SparseGridMiner* sgpp::datadriven::MinerFactory::buildMiner ( const std::string &  path) const
pure virtual

Factory method to build a miner object based on a configuration file.

Parameters
pathPath to a configuration file that defines the structure of the miner object.

Implemented in sgpp::datadriven::LeastSquaresRegressionMinerFactory, and sgpp::datadriven::DensityEstimationMinerFactory.


The documentation for this class was generated from the following file: