OmniSciDB
a5dc49c757
|
#include <AbstractMLModel.h>
Public Member Functions | |
AbstractMLModel (const std::string &model_metadata) | |
AbstractMLModel (const std::string &model_metadata, const std::vector< std::vector< std::string >> &cat_feature_keys) | |
virtual MLModelType | getModelType () const =0 |
virtual std::string | getModelTypeString () const =0 |
virtual int64_t | getNumFeatures () const =0 |
virtual | ~AbstractMLModel ()=default |
const std::string & | getModelMetadataStr () const |
MLModelMetadata | getModelMetadata () const |
const std::vector< std::vector < std::string > > & | getCatFeatureKeys () const |
const int64_t | getNumCatFeatures () const |
const int64_t | getNumOneHotFeatures () const |
const int64_t | getNumLogicalFeatures () const |
Protected Attributes | |
std::string | model_metadata_ |
std::vector< std::vector < std::string > > | cat_feature_keys_ |
Definition at line 34 of file AbstractMLModel.h.
|
inline |
Definition at line 36 of file AbstractMLModel.h.
|
inline |
Definition at line 39 of file AbstractMLModel.h.
|
virtualdefault |
|
inline |
Definition at line 58 of file AbstractMLModel.h.
References cat_feature_keys_.
|
inline |
Definition at line 48 of file AbstractMLModel.h.
References getModelMetadataStr(), getModelType(), getModelTypeString(), getNumCatFeatures(), getNumFeatures(), and getNumLogicalFeatures().
|
inline |
Definition at line 47 of file AbstractMLModel.h.
References model_metadata_.
Referenced by getModelMetadata().
|
pure virtual |
Implemented in PcaModel, AbstractTreeModel, and LinearRegressionModel.
Referenced by getModelMetadata().
|
pure virtual |
Implemented in PcaModel, AbstractTreeModel, and LinearRegressionModel.
Referenced by getModelMetadata().
|
inline |
Definition at line 61 of file AbstractMLModel.h.
References cat_feature_keys_.
Referenced by getModelMetadata(), and getNumLogicalFeatures().
|
pure virtual |
Implemented in PcaModel, AbstractTreeModel, and LinearRegressionModel.
Referenced by getModelMetadata(), and getNumLogicalFeatures().
|
inline |
Definition at line 71 of file AbstractMLModel.h.
References getNumCatFeatures(), getNumFeatures(), and getNumOneHotFeatures().
Referenced by getModelMetadata().
|
inline |
Definition at line 63 of file AbstractMLModel.h.
References cat_feature_keys_.
Referenced by getNumLogicalFeatures().
|
protected |
Definition at line 77 of file AbstractMLModel.h.
Referenced by getCatFeatureKeys(), getNumCatFeatures(), and getNumOneHotFeatures().
|
protected |
Definition at line 76 of file AbstractMLModel.h.
Referenced by getModelMetadataStr().