12 #ifndef DISTANTSEGMENTSKERNEL_H_
13 #define DISTANTSEGMENTSKERNEL_H_
59 int32_t size, int32_t delta, int32_t theta);
82 return "DistantSegmentsKernel";
105 int32_t bin(int32_t j, int32_t i);
120 int32_t
compute(
char* s, int32_t sLength,
char* b, int32_t bLength,
121 int32_t delta_m, int32_t theta_m);
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
The distant segments kernel is a string kernel, which counts the number of substrings, so-called segments, at a certain distance from each other.
virtual const char * get_name() const
The class Features is the base class of all feature objects.
Template class StringKernel, is the base class of all String Kernels.
virtual EKernelType get_kernel_type()
virtual bool init(CFeatures *l, CFeatures *r)