SHOGUN v0.9.0
公有成员 | 保护属性
CScatterKernelNormalizer类参考

详细描述

在文件ScatterKernelNormalizer.h22行定义。

继承图,类CScatterKernelNormalizer
Inheritance graph
[图例]

所有成员的列表。

公有成员

 CScatterKernelNormalizer ()
 CScatterKernelNormalizer (float64_t const_diag, float64_t const_offdiag, CLabels *labels, CKernelNormalizer *normalizer=NULL)
virtual ~CScatterKernelNormalizer ()
virtual bool init (CKernel *k)
int32_t get_testing_class ()
void set_testing_class (int32_t c)
virtual float64_t normalize (float64_t value, int32_t idx_lhs, int32_t idx_rhs)
virtual float64_t normalize_lhs (float64_t value, int32_t idx_lhs)
virtual float64_t normalize_rhs (float64_t value, int32_t idx_rhs)
virtual const char * get_name () const

保护属性

float64_t m_const_diag
float64_t m_const_offdiag
CLabelsm_labels
CKernelNormalizerm_normalizer
int32_t m_testing_class

构造及析构函数文档

default constructor

在文件ScatterKernelNormalizer.h27行定义。

CScatterKernelNormalizer ( float64_t  const_diag,
float64_t  const_offdiag,
CLabels labels,
CKernelNormalizer normalizer = NULL 
)

default constructor

在文件ScatterKernelNormalizer.h34行定义。

virtual ~CScatterKernelNormalizer ( ) [virtual]

default destructor

在文件ScatterKernelNormalizer.h60行定义。


成员函数文档

virtual const char* get_name ( void  ) const [virtual]
返回:
object name

实现了CSGObject

在文件ScatterKernelNormalizer.h138行定义。

int32_t get_testing_class ( )

get testing class

返回:
testing class (-1 disabled, 0...class otherwise)

在文件ScatterKernelNormalizer.h78行定义。

virtual bool init ( CKernel k) [virtual]

initialization of the normalizer

参数:
kkernel

实现了CKernelNormalizer

在文件ScatterKernelNormalizer.h68行定义。

virtual float64_t normalize ( float64_t  value,
int32_t  idx_lhs,
int32_t  idx_rhs 
) [virtual]

normalize the kernel value

参数:
valuekernel value
idx_lhsindex of left hand side vector
idx_rhsindex of right hand side vector

实现了CKernelNormalizer

在文件ScatterKernelNormalizer.h97行定义。

virtual float64_t normalize_lhs ( float64_t  value,
int32_t  idx_lhs 
) [virtual]

normalize only the left hand side vector

参数:
valuevalue of a component of the left hand side feature vector
idx_lhsindex of left hand side vector

实现了CKernelNormalizer

在文件ScatterKernelNormalizer.h121行定义。

virtual float64_t normalize_rhs ( float64_t  value,
int32_t  idx_rhs 
) [virtual]

normalize only the right hand side vector

参数:
valuevalue of a component of the right hand side feature vector
idx_rhsindex of right hand side vector

实现了CKernelNormalizer

在文件ScatterKernelNormalizer.h131行定义。

void set_testing_class ( int32_t  c)

set testing status

参数:
cset class to test for

在文件ScatterKernelNormalizer.h87行定义。


成员数据文档

float64_t m_const_diag [protected]

factor to multiply to diagonal elements

在文件ScatterKernelNormalizer.h169行定义。

factor to multiply to off-diagonal elements

在文件ScatterKernelNormalizer.h171行定义。

CLabels* m_labels [protected]

labels

在文件ScatterKernelNormalizer.h174行定义。

labels

在文件ScatterKernelNormalizer.h177行定义。

int32_t m_testing_class [protected]

upon testing which class to test for

在文件ScatterKernelNormalizer.h180行定义。


该类的文档由以下文件生成:

SHOGUN Machine Learning Toolbox - Documentation