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

详细描述

在文件WeightedDegreeRBFKernel.h11行定义。

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

所有成员的列表。

公有成员

 CWeightedDegreeRBFKernel ()
 CWeightedDegreeRBFKernel (int32_t size, float64_t width, int32_t degree, int32_t nof_properties)
 CWeightedDegreeRBFKernel (CSimpleFeatures< float64_t > *l, CSimpleFeatures< float64_t > *r, float64_t width, int32_t degree, int32_t nof_properties, int32_t size=10)
virtual ~CWeightedDegreeRBFKernel ()
virtual bool init (CFeatures *l, CFeatures *r)
virtual EKernelType get_kernel_type ()
virtual const char * get_name () const
virtual EFeatureClass get_feature_class ()
virtual EFeatureType get_feature_type ()
bool set_degree (int32_t deg)
int32_t get_degree ()

保护成员

virtual float64_t compute (int32_t idx_a, int32_t idx_b)
bool init_wd_weights ()

保护属性

float64_t width
int32_t degree
int32_t nof_properties
float64_tweights

构造及析构函数文档

default constructor

在文件WeightedDegreeRBFKernel.cpp19行定义。

CWeightedDegreeRBFKernel ( int32_t  size,
float64_t  width,
int32_t  degree,
int32_t  nof_properties 
)

constructor

参数:
sizecache size
widthwidth
degreedegree
nof_propertiesnumber of properties per amino acid

在文件WeightedDegreeRBFKernel.cpp25行定义。

CWeightedDegreeRBFKernel ( CSimpleFeatures< float64_t > *  l,
CSimpleFeatures< float64_t > *  r,
float64_t  width,
int32_t  degree,
int32_t  nof_properties,
int32_t  size = 10 
)

constructor

参数:
lfeatures of left-hand side
rfeatures of right-hand side
widthwidth
degreedegree
nof_propertiesnumber of properties per amino acid
sizecache size

在文件WeightedDegreeRBFKernel.cpp31行定义。

~CWeightedDegreeRBFKernel ( ) [virtual]

在文件WeightedDegreeRBFKernel.cpp39行定义。


成员函数文档

float64_t compute ( int32_t  idx_a,
int32_t  idx_b 
) [protected, virtual]

compute kernel function for features a and b idx_{a,b} denote the index of the feature vectors in the corresponding feature object

参数:
idx_aindex a
idx_bindex b
返回:
computed kernel function at indices a,b

重载CDotKernel

在文件WeightedDegreeRBFKernel.cpp78行定义。

int32_t get_degree ( )

get degree

返回:
degree

在文件WeightedDegreeRBFKernel.h88行定义。

virtual EFeatureClass get_feature_class ( ) [virtual]

return feature class the kernel can deal with

返回:
feature class SIMPLE

重载CDotKernel

在文件WeightedDegreeRBFKernel.h68行定义。

virtual EFeatureType get_feature_type ( ) [virtual]

return feature type the kernel can deal with

返回:
float64_t feature type

重载CDotKernel

在文件WeightedDegreeRBFKernel.h74行定义。

virtual EKernelType get_kernel_type ( ) [virtual]

return what type of kernel we are

返回:
kernel type UNKNOWN

实现了CDotKernel

在文件WeightedDegreeRBFKernel.h55行定义。

virtual const char* get_name ( void  ) const [virtual]

return the kernel's name

返回:
name Gaussian

重载CDotKernel

在文件WeightedDegreeRBFKernel.h61行定义。

bool init ( CFeatures l,
CFeatures r 
) [virtual]

initialize kernel

参数:
lfeatures of left-hand side
rfeatures of right-hand side
返回:
if initializing was successful

重载CDotKernel

在文件WeightedDegreeRBFKernel.cpp45行定义。

bool init_wd_weights ( ) [protected]

init degree weights

返回:
if initialization was successful

在文件WeightedDegreeRBFKernel.cpp52行定义。

bool set_degree ( int32_t  deg)

set degree

参数:
degnew degree
返回:
if setting was successful

在文件WeightedDegreeRBFKernel.h82行定义。


成员数据文档

int32_t degree [protected]

degree

在文件WeightedDegreeRBFKernel.h112行定义。

int32_t nof_properties [protected]

number of properties per amino acid

在文件WeightedDegreeRBFKernel.h115行定义。

float64_t* weights [protected]

weights

在文件WeightedDegreeRBFKernel.h119行定义。

float64_t width [protected]

width

在文件WeightedDegreeRBFKernel.h109行定义。


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

SHOGUN Machine Learning Toolbox - Documentation