SG++-Doxygen-Documentation
|
Convenience class to convert strings to sgpp::datadriven::DataSourceFileType and generate string representations for values of sgpp::datadriven::DataSourceFileType. More...
#include <DataSourceFileTypeParser.hpp>
Static Public Member Functions | |
static DataSourceFileType | parse (const std::string &input) |
Convert strings to values sgpp::datadriven::DataSourceFileType. More... | |
static const std::string & | toString (DataSourceFileType type) |
generate string representations for values of sgpp::datadriven::DataSourceFileType. More... | |
Convenience class to convert strings to sgpp::datadriven::DataSourceFileType and generate string representations for values of sgpp::datadriven::DataSourceFileType.
|
static |
Convert strings to values sgpp::datadriven::DataSourceFileType.
Throws if there is no valid representation
input | case insensitive string representation of a sgpp::datadriven::DataSourceFileType. |
References sgpp::datadriven::ARFF, sgpp::datadriven::CSV, and sgpp::datadriven::NONE.
Referenced by sgpp::datadriven::DataSourceBuilder::crossValidationFromConfig(), and sgpp::datadriven::DataMiningConfigParser::getDataSourceConfig().
|
static |
generate string representations for values of sgpp::datadriven::DataSourceFileType.
type | enum value. |
References sgpp::datadriven::ARFF, sgpp::datadriven::CSV, and sgpp::datadriven::NONE.
Referenced by sgpp::datadriven::DataMiningConfigParser::getDataSourceConfig().