OmniSciDB
a5dc49c757
|
#include <MLModel.h>
Public Member Functions | |
void | addModel (const std::string &model_name, std::shared_ptr< AbstractMLModel > model) |
bool | modelExists (const std::string &model_name) const |
std::shared_ptr< AbstractMLModel > | getModel (const std::string &model_name) const |
void | deleteModel (const std::string &model_name) |
std::vector< std::string > | getModelNames () const |
std::vector< MLModelMetadata > | getModelMetadata () const |
MLModelMetadata | getModelMetadata (const std::string &model_name) const |
Private Attributes | |
std::map< std::string, std::shared_ptr < AbstractMLModel > > | model_map_ |
std::shared_mutex | model_map_mutex_ |
|
inline |
Definition at line 38 of file MLModel.h.
References model_map_, model_map_mutex_, and to_upper().
Referenced by linear_reg_fit_impl(), and pca_fit_impl().
|
inline |
Definition at line 62 of file MLModel.h.
References model_map_, model_map_mutex_, and to_upper().
Referenced by Parser::DropModelStmt::execute().
|
inline |
Definition at line 51 of file MLModel.h.
References model_map_, model_map_mutex_, and to_upper().
Referenced by CodeGenerator::codegen(), ShowModelFeatureDetailsCommand::execute(), get_decision_trees__cpu_1(), linear_reg_coefs__cpu_1(), ml_reg_predict__cpu_template(), r2_score__cpu_template(), and random_forest_reg_var_importance__cpu_1().
|
inline |
Definition at line 84 of file MLModel.h.
References model_map_, and model_map_mutex_.
Referenced by ShowModelDetailsCommand::execute(), EvaluateModelCommand::execute(), and foreign_storage::InternalMLModelMetadataDataWrapper::initializeObjectsForTable().
|
inline |
Definition at line 101 of file MLModel.h.
References model_map_, model_map_mutex_, and to_upper().
|
inline |
Definition at line 75 of file MLModel.h.
References model_map_, and model_map_mutex_.
Referenced by ShowModelsCommand::execute(), and ShowModelDetailsCommand::getFilteredModelNames().
|
inline |
Definition at line 44 of file MLModel.h.
References model_map_, model_map_mutex_, and to_upper().
Referenced by Parser::CreateModelStmt::check_model_exists().
|
private |
Definition at line 121 of file MLModel.h.
Referenced by addModel(), deleteModel(), getModel(), getModelMetadata(), getModelNames(), and modelExists().
|
mutableprivate |
Definition at line 122 of file MLModel.h.
Referenced by addModel(), deleteModel(), getModel(), getModelMetadata(), getModelNames(), and modelExists().