Go to the source code of this file.
|
enum | MLFramework {
MLFramework::DEFAULT,
MLFramework::ONEDAL,
MLFramework::ONEAPI,
MLFramework::MLPACK,
MLFramework::INVALID
} |
|
enum | KMeansInitStrategy {
KMeansInitStrategy::DEFAULT,
KMeansInitStrategy::DETERMINISTIC,
KMeansInitStrategy::RANDOM,
KMeansInitStrategy::PLUS_PLUS,
KMeansInitStrategy::INVALID
} |
|
enum | VarImportanceMetric {
VarImportanceMetric::DEFAULT,
VarImportanceMetric::NONE,
VarImportanceMetric::MDI,
VarImportanceMetric::MDA,
VarImportanceMetric::MDA_SCALED,
VarImportanceMetric::INVALID
} |
|
MLFramework get_ml_framework |
( |
const std::string & |
ml_framework_str | ) |
|
|
inline |
Definition at line 25 of file MLTableFunctionsCommon.h.
References DEFAULT, INVALID, MLPACK, ONEAPI, ONEDAL, and to_upper().
Referenced by dbscan__cpu_template(), decision_tree_reg_impl(), gbt_reg_fit_impl(), kmeans__cpu_template(), linear_reg_fit_impl(), ml_reg_predict_impl(), pca_fit_impl(), and random_forest_reg_fit_impl().
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()) {