SHOGUN v0.9.0
|
在文件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 |
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_t * | weights |
default constructor
在文件WeightedDegreeRBFKernel.cpp第19行定义。
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第25行定义。
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第31行定义。
~CWeightedDegreeRBFKernel | ( | ) | [virtual] |
在文件WeightedDegreeRBFKernel.cpp第39行定义。
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 |
重载CDotKernel。
在文件WeightedDegreeRBFKernel.cpp第78行定义。
int32_t get_degree | ( | ) |
virtual EFeatureClass get_feature_class | ( | ) | [virtual] |
return feature class the kernel can deal with
重载CDotKernel。
在文件WeightedDegreeRBFKernel.h第68行定义。
virtual EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
重载CDotKernel。
在文件WeightedDegreeRBFKernel.h第74行定义。
virtual EKernelType get_kernel_type | ( | ) | [virtual] |
return what type of kernel we are
实现了CDotKernel。
在文件WeightedDegreeRBFKernel.h第55行定义。
virtual const char* get_name | ( | void | ) | const [virtual] |
initialize kernel
l | features of left-hand side |
r | features of right-hand side |
重载CDotKernel。
在文件WeightedDegreeRBFKernel.cpp第45行定义。
bool init_wd_weights | ( | ) | [protected] |
bool set_degree | ( | int32_t | deg | ) |
int32_t degree [protected] |
degree
在文件WeightedDegreeRBFKernel.h第112行定义。
int32_t nof_properties [protected] |
number of properties per amino acid
在文件WeightedDegreeRBFKernel.h第115行定义。
weights
在文件WeightedDegreeRBFKernel.h第119行定义。
width
在文件WeightedDegreeRBFKernel.h第109行定义。