SG++-Doxygen-Documentation
sgpp::datadriven::FitterTypeParser Class Reference

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

#include <FitterTypeParser.hpp>

Static Public Member Functions

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

Detailed Description

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

Member Function Documentation

◆ parse()

FitterType sgpp::datadriven::FitterTypeParser::parse ( const std::string &  input)
static

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

Throws if there is no valid representation

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

References sgpp::datadriven::DensityEstimation, and sgpp::datadriven::RegressionLeastSquares.

Referenced by sgpp::datadriven::DataMiningConfigParser::getFitterConfigType().

◆ toString()

const std::string & sgpp::datadriven::FitterTypeParser::toString ( FitterType  type)
static

generate string representations for values of sgpp::datadriven::ScorerMetricType.

Parameters
typeenum value.
Returns
string representation of a sgpp::datadriven::FitterType.

References sgpp::datadriven::DensityEstimation, and sgpp::datadriven::RegressionLeastSquares.


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