SG++
sgpp::datadriven::ScorerMetricTypeParser Class Reference

Convenience class to convert strings to sgpp::datadriven::ScorerMetricType and generate string representations for values of sgpp::datadriven::ScorerMetricType. More...

#include <ScorerMetricTypeParser.hpp>

Static Public Member Functions

static ScorerMetricType parse (const std::string &input)
 Convert strings to values sgpp::datadriven::ScorerMetricType. More...
 
static const std::string & toString (ScorerMetricType type)
 generate string representations for values of sgpp::datadriven::ScorerMetricType. More...
 

Detailed Description

Convenience class to convert strings to sgpp::datadriven::ScorerMetricType and generate string representations for values of sgpp::datadriven::ScorerMetricType.

Member Function Documentation

ScorerMetricType sgpp::datadriven::ScorerMetricTypeParser::parse ( const std::string &  input)
static

Convert strings to values sgpp::datadriven::ScorerMetricType.

Throws if there is no valid representation

Parameters
inputcase insensitive string representation of a sgpp::datadriven::ScorerMetricType.
Returns
the corresponding sgpp::datadriven::ScorerMetricType.

References sgpp::datadriven::mse.

Referenced by sgpp::datadriven::DataMiningConfigParser::getScorerCrossValidationConfig(), and sgpp::datadriven::DataMiningConfigParser::getScorerTestingConfig().

const std::string & sgpp::datadriven::ScorerMetricTypeParser::toString ( ScorerMetricType  type)
static

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