11 #ifndef _POLYMATCHSTRINGKERNEL_H___
12 #define _POLYMATCHSTRINGKERNEL_H___
61 int32_t degree,
bool inhomogene);
89 virtual const char*
get_name()
const {
return "PolyMatchStringKernel"; }
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
virtual bool init(CFeatures *l, CFeatures *r)
bool get_rescaling_enabled()
The class PolyMatchStringKernel computes a variant of the polynomial kernel on strings of same length...
virtual const char * get_name() const
all of classes and functions are contained in the shogun namespace
void set_rescaling_enabled(bool n)
The class Features is the base class of all feature objects.
virtual ~CPolyMatchStringKernel()
virtual EKernelType get_kernel_type()
Template class StringKernel, is the base class of all String Kernels.