SG++-Doxygen-Documentation
|
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... | |
Convenience class to convert strings to sgpp::datadriven::ScorerMetricType and generate string representations for values of sgpp::datadriven::ScorerMetricType.
|
static |
Convert strings to values sgpp::datadriven::ScorerMetricType.
Throws if there is no valid representation
input | case insensitive string representation of a sgpp::datadriven::ScorerMetricType. |
References sgpp::datadriven::accuracy, sgpp::datadriven::mse, and sgpp::datadriven::nll.
Referenced by sgpp::datadriven::DataMiningConfigParser::getScorerConfig().
|
static |
generate string representations for values of sgpp::datadriven::ScorerMetricType.
type | enum value. |
Referenced by sgpp::datadriven::DataMiningConfigParser::getScorerConfig().