SHOGUN
v3.2.0
首页
相关页面
模块
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
src
shogun
latent
DirectorLatentModel.h
浏览该文件的文档.
1
/*
2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public License as published by
4
* the Free Software Foundation; either version 3 of the License, or
5
* (at your option) any later version.
6
*
7
* Copyright (C) 2012 Viktor Gal
8
*/
9
10
#ifndef _DIRECTOR_LATENT_MODEL_H_
11
#define _DIRECTOR_LATENT_MODEL_H_
12
13
#include <
shogun/latent/LatentModel.h
>
14
#include <
shogun/lib/config.h
>
15
#ifdef USE_SWIG_DIRECTORS
16
namespace
shogun
17
{
18
19
class
CLatentModel;
20
21
#define IGNORE_IN_CLASSLIST
22
29
IGNORE_IN_CLASSLIST
class
CDirectorLatentModel :
public
CLatentModel
30
{
31
public
:
33
CDirectorLatentModel();
34
36
virtual
~CDirectorLatentModel();
37
42
virtual
int32_t get_dim()
const
;
43
48
virtual
CDotFeatures* get_psi_feature_vectors();
49
58
virtual
CData* infer_latent_variable(
const
SGVector<float64_t>& w,
index_t
idx);
59
65
virtual
void
argmax_h(
const
SGVector<float64_t>& w);
66
68
virtual
const
char
* get_name()
const
{
return
"DirectorLatentModel"
; }
69
70
};
/* class CDirectorLatentModel */
71
}
/* namespace shogun */
72
#endif
/* USE_SWIG_DIRECTORS */
73
#endif
/* _DIRECTOR_LATENT_MODEL_H_ */
74
index_t
int32_t index_t
Definition:
common.h:60
config.h
LatentModel.h
IGNORE_IN_CLASSLIST
#define IGNORE_IN_CLASSLIST
Definition:
CPLEXSVM.h:21
SHOGUN
Machine Learning Toolbox - Documentation