在文件WeightedDegreeRBFKernel.h第11行定义。
公有成员 | |
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 |
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_t * | weights |
default constructor
在文件WeightedDegreeRBFKernel.cpp第24行定义。
CWeightedDegreeRBFKernel | ( | int32_t | size, | |
float64_t | width, | |||
int32_t | degree, | |||
int32_t | nof_properties | |||
) |
constructor
size | cache size | |
width | width | |
degree | degree | |
nof_properties | number of properties per amino acid |
在文件WeightedDegreeRBFKernel.cpp第30行定义。
CWeightedDegreeRBFKernel | ( | CSimpleFeatures< float64_t > * | l, | |
CSimpleFeatures< float64_t > * | r, | |||
float64_t | width, | |||
int32_t | degree, | |||
int32_t | nof_properties, | |||
int32_t | size = 10 | |||
) |
constructor
l | features of left-hand side | |
r | features of right-hand side | |
width | width | |
degree | degree | |
nof_properties | number of properties per amino acid | |
size | cache size |
在文件WeightedDegreeRBFKernel.cpp第36行定义。
~CWeightedDegreeRBFKernel | ( | ) | [virtual] |
在文件WeightedDegreeRBFKernel.cpp第44行定义。
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_a | index a | |
idx_b | index b |
实现了CKernel。
在文件WeightedDegreeRBFKernel.cpp第83行定义。
int32_t get_degree | ( | ) |
virtual EKernelType get_kernel_type | ( | ) | [virtual] |
return what type of kernel we are
实现了CKernel。
在文件WeightedDegreeRBFKernel.h第55行定义。
virtual const char* get_name | ( | ) | const [virtual] |
initialize kernel
l | features of left-hand side | |
r | features of right-hand side |
在文件WeightedDegreeRBFKernel.cpp第50行定义。
bool init_wd_weights | ( | ) | [protected] |
bool set_degree | ( | int32_t | deg | ) |
int32_t degree [protected] |
degree
在文件WeightedDegreeRBFKernel.h第121行定义。
int32_t nof_properties [protected] |
number of properties per amino acid
在文件WeightedDegreeRBFKernel.h第124行定义。
weights
在文件WeightedDegreeRBFKernel.h第128行定义。
width
在文件WeightedDegreeRBFKernel.h第118行定义。