公有成员 | 保护属性

CFirstElementKernelNormalizer类参考


详细描述

Normalize the kernel by a constant obtained from the first element of the kernel matrix, i.e. $ c=k({\bf x},{\bf x})$.

\[ k'(x,x')= \frac{k(x,x')}{c} \]

useful if the kernel returns constant elements along the diagonal anyway and all one wants is to scale the kernel down to 1 on the diagonal.

在文件FirstElementKernelNormalizer.h28行定义。

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

所有成员的列表。

公有成员

 CFirstElementKernelNormalizer ()
virtual ~CFirstElementKernelNormalizer ()
virtual bool init (CKernel *k)
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 scale
 scale constant obtained from k(0,0)

构造及析构函数文档

constructor

在文件FirstElementKernelNormalizer.h33行定义。

virtual ~CFirstElementKernelNormalizer (  ) [virtual]

default destructor

在文件FirstElementKernelNormalizer.h38行定义。


成员函数文档

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

实现了CSGObject

在文件FirstElementKernelNormalizer.h89行定义。

virtual bool init ( CKernel k ) [virtual]

initialization of the normalizer (if needed)

参数:
kkernel

实现了CKernelNormalizer

在文件FirstElementKernelNormalizer.h44行定义。

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

在文件FirstElementKernelNormalizer.h64行定义。

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

在文件FirstElementKernelNormalizer.h74行定义。

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

在文件FirstElementKernelNormalizer.h83行定义。


成员数据文档

float64_t scale [protected]

scale constant obtained from k(0,0)

在文件FirstElementKernelNormalizer.h93行定义。


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

SHOGUN Machine Learning Toolbox - Documentation