SG++-Doxygen-Documentation
|
#include <RegularizationTypeParser.hpp>
Static Public Member Functions | |
static RegularizationType | parse (const std::string &input) |
Convert strings to values sgpp::datadriven::RegularizationType. More... | |
static const std::string & | toString (RegularizationType type) |
generate string representations for values of sgpp::datadriven::RegularizationType. More... | |
|
static |
Convert strings to values sgpp::datadriven::RegularizationType.
Throws if there is no valid representation
input | case insensitive string representation of a sgpp::datadriven::RegularizationType. |
References sgpp::datadriven::Diagonal, sgpp::datadriven::ElasticNet, sgpp::datadriven::GroupLasso, sgpp::datadriven::Identity, sgpp::datadriven::Laplace, and sgpp::datadriven::Lasso.
Referenced by sgpp::datadriven::DataMiningConfigParser::getFitterRegularizationConfig().
|
static |
generate string representations for values of sgpp::datadriven::RegularizationType.
type | enum value. |
References sgpp::datadriven::Diagonal, sgpp::datadriven::ElasticNet, sgpp::datadriven::GroupLasso, sgpp::datadriven::Identity, sgpp::datadriven::Laplace, and sgpp::datadriven::Lasso.
Referenced by sgpp::datadriven::DataMiningConfigParser::getFitterRegularizationConfig().