26 const auto upper_ml_framework_str =
to_upper(ml_framework_str);
27 const static std::map<std::string, MLFramework> ml_framework_map = {
32 const auto itr = ml_framework_map.find(upper_ml_framework_str);
33 if (itr == ml_framework_map.end()) {
42 const auto upper_init_type_str =
to_upper(init_type_str);
43 const static std::map<std::string, KMeansInitStrategy> kmeans_init_type_map = {
48 const auto itr = kmeans_init_type_map.find(upper_init_type_str);
49 if (itr == kmeans_init_type_map.end()) {
58 const std::string& var_importance_metric_str) {
59 const auto upper_var_importance_metric_str =
to_upper(var_importance_metric_str);
60 const static std::map<std::string, VarImportanceMetric> var_importance_metric_map = {
66 const auto itr = var_importance_metric_map.find(upper_var_importance_metric_str);
67 if (itr == var_importance_metric_map.end()) {
KMeansInitStrategy get_kmeans_init_type(const std::string &init_type_str)
MLFramework get_ml_framework(const std::string &ml_framework_str)
VarImportanceMetric get_var_importance_metric(const std::string &var_importance_metric_str)