![]() |
SG++-Doxygen-Documentation
|
Factory to build the scorer. More...
#include <ScorerFactory.hpp>
Public Member Functions | |
| Scorer * | buildScorer (const DataMiningConfigParser &parser) |
| Assemble a sgpp::datadriven::Scorer object based on the configuration. More... | |
| ScorerFactory ()=default | |
| Default constructor. More... | |
| ~ScorerFactory ()=default | |
| Destructor. More... | |
Protected Member Functions | |
| Metric * | buildMetric (ScorerMetricType config) const |
| Build a sgpp::datadriven::Metric object based on the given metric type enum value. More... | |
Factory to build the scorer.
|
default |
Default constructor.
|
default |
Destructor.
|
protected |
Build a sgpp::datadriven::Metric object based on the given metric type enum value.
| config | sgpp::datadriven::ScorerMetricType describing which sgpp::datadriven::Metric to generate. |
References sgpp::datadriven::accuracy, sgpp::datadriven::mse, and sgpp::datadriven::nll.
Referenced by buildScorer().
| Scorer * sgpp::datadriven::ScorerFactory::buildScorer | ( | const DataMiningConfigParser & | parser | ) |
Assemble a sgpp::datadriven::Scorer object based on the configuration.
| parser | Instance of sgpp::datadriven::DataMiningConfigParser that reads the required data from the config file. |
References buildMetric(), sgpp::datadriven::DataMiningConfigParser::getScorerConfig(), and sgpp::datadriven::ScorerConfiguration::metric.