SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
DirectorLatentModel.cpp
浏览该文件的文档.
2 
3 #ifdef USE_SWIG_DIRECTORS
4 
5 using namespace shogun;
6 
7 CDirectorLatentModel::CDirectorLatentModel() : CLatentModel()
8 {
9 
10 }
11 
12 CDirectorLatentModel::~CDirectorLatentModel()
13 {
14 
15 }
16 
17 int32_t CDirectorLatentModel::get_dim() const
18 {
19  SG_ERROR("Please implemement get_dim() in your target language before use\n")
20  return 0;
21 }
22 
23 CDotFeatures* CDirectorLatentModel::get_psi_feature_vectors()
24 {
25  SG_ERROR("Please implemement get_psi_feature_vectors() in your target language before use\n")
26  return NULL;
27 }
28 
29 CData* CDirectorLatentModel::infer_latent_variable(const SGVector<float64_t>& w, index_t idx)
30 {
31  SG_ERROR("Please implemement infer_latent_variable(w, idx) in your target language before use\n")
32  return NULL;
33 }
34 
35 void CDirectorLatentModel::argmax_h(const SGVector<float64_t>& w)
36 {
37  SG_ERROR("Please implemement argmax_h(w) in your target language before use\n")
38 }
39 
40 #endif /* USE_SWIG_DIRECTORS */
Abstract class CLatentModel It represents the application specific model and contains most of the app...
Definition: LatentModel.h:33
int32_t index_t
Definition: common.h:62
#define SG_ERROR(...)
Definition: SGIO.h:129
Features that support dot products among other operations.
Definition: DotFeatures.h:44
shogun vector
dummy data holder
Definition: Data.h:25
double float64_t
Definition: common.h:50
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18

SHOGUN 机器学习工具包 - 项目文档