SHOGUN v0.9.0
|
The HistogramWordString computes the TOP kernel on inhomogeneous Markov Chains.
在文件HistogramWordStringKernel.h第26行定义。
公有成员 | |
CHistogramWordStringKernel () | |
CHistogramWordStringKernel (int32_t size, CPluginEstimate *pie) | |
CHistogramWordStringKernel (CStringFeatures< uint16_t > *l, CStringFeatures< uint16_t > *r, CPluginEstimate *pie) | |
virtual | ~CHistogramWordStringKernel () |
virtual bool | init (CFeatures *l, CFeatures *r) |
virtual void | cleanup () |
virtual EKernelType | get_kernel_type () |
virtual const char * | get_name () const |
保护成员 | |
float64_t | compute (int32_t idx_a, int32_t idx_b) |
int32_t | compute_index (int32_t position, uint16_t symbol) |
保护属性 | |
CPluginEstimate * | estimate |
float64_t * | mean |
float64_t * | variance |
float64_t * | sqrtdiag_lhs |
float64_t * | sqrtdiag_rhs |
float64_t * | ld_mean_lhs |
float64_t * | ld_mean_rhs |
float64_t * | plo_lhs |
float64_t * | plo_rhs |
int32_t | num_params |
int32_t | num_params2 |
int32_t | num_symbols |
float64_t | sum_m2_s2 |
bool | initialized |
CHistogramWordStringKernel | ( | void | ) |
default constructor
在文件HistogramWordStringKernel.cpp第21行定义。
CHistogramWordStringKernel | ( | int32_t | size, |
CPluginEstimate * | pie | ||
) |
CHistogramWordStringKernel | ( | CStringFeatures< uint16_t > * | l, |
CStringFeatures< uint16_t > * | r, | ||
CPluginEstimate * | pie | ||
) |
constructor
l | features of left-hand side |
r | features of right-hand side |
pie | plugin estimate |
在文件HistogramWordStringKernel.cpp第36行定义。
~CHistogramWordStringKernel | ( | ) | [virtual] |
在文件HistogramWordStringKernel.cpp第46行定义。
void cleanup | ( | ) | [virtual] |
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。
在文件HistogramWordStringKernel.cpp第357行定义。
int32_t compute_index | ( | int32_t | position, |
uint16_t | symbol | ||
) | [protected] |
compute index
position | position |
symbol | symbol |
在文件HistogramWordStringKernel.h第91行定义。
virtual EKernelType get_kernel_type | ( | ) | [virtual] |
virtual const char* get_name | ( | void | ) | const [virtual] |
initialize kernel
l | features of left-hand side |
r | features of right-hand side |
在文件HistogramWordStringKernel.cpp第63行定义。
CPluginEstimate* estimate [protected] |
plugin estimate
在文件HistogramWordStringKernel.h第101行定义。
bool initialized [protected] |
if kernel is initialized
在文件HistogramWordStringKernel.h第133行定义。
float64_t* ld_mean_lhs [protected] |
ld mean left-hand side
在文件HistogramWordStringKernel.h第114行定义。
float64_t* ld_mean_rhs [protected] |
ld mean right-hand side
在文件HistogramWordStringKernel.h第116行定义。
mean
在文件HistogramWordStringKernel.h第104行定义。
int32_t num_params [protected] |
number of parameters
在文件HistogramWordStringKernel.h第124行定义。
int32_t num_params2 [protected] |
number of parameters2
在文件HistogramWordStringKernel.h第126行定义。
int32_t num_symbols [protected] |
number of symbols
在文件HistogramWordStringKernel.h第128行定义。
plo left-hand side
在文件HistogramWordStringKernel.h第119行定义。
plo right-hand side
在文件HistogramWordStringKernel.h第121行定义。
float64_t* sqrtdiag_lhs [protected] |
sqrt diagonal of left-hand side
在文件HistogramWordStringKernel.h第109行定义。
float64_t* sqrtdiag_rhs [protected] |
sqrt diagonal of right-hand side
在文件HistogramWordStringKernel.h第111行定义。
sum m2 s2
在文件HistogramWordStringKernel.h第130行定义。
variance
在文件HistogramWordStringKernel.h第106行定义。