12 #ifndef DISTANTSEGMENTSKERNEL_H_ 13 #define DISTANTSEGMENTSKERNEL_H_ 57 int32_t size, int32_t delta, int32_t theta);
80 return "DistantSegmentsKernel";
103 int32_t bin(int32_t j, int32_t i);
118 int32_t
compute(
char* s, int32_t sLength,
char* b, int32_t bLength,
119 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
all of classes and functions are contained in the shogun namespace
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)