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

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

#include <DataTransformationTypeParser.hpp>

Static Public Member Functions

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

Detailed Description

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

Member Function Documentation

◆ parse()

DataTransformationType sgpp::datadriven::DataTransformationTypeParser::parse ( const std::string &  input)
static

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

Throws if there is no valid representation

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

References sgpp::datadriven::NONE, and sgpp::datadriven::ROSENBLATT.

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

◆ toString()

const std::string & sgpp::datadriven::DataTransformationTypeParser::toString ( DataTransformationType  type)
static

Generate string representations for values of sgpp::datadriven::DataTransformationType.

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

References sgpp::datadriven::NONE, and sgpp::datadriven::ROSENBLATT.

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


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