12 #ifndef _LOCALITYIMPROVEDSTRINGKERNEL_H___ 13 #define _LOCALITYIMPROVEDSTRINGKERNEL_H___ 15 #include <shogun/lib/config.h> 80 virtual const char*
get_name()
const {
return "LocalityImprovedStringKernel"; }
virtual ~CLocalityImprovedStringKernel()
virtual const char * get_name() const
virtual EKernelType get_kernel_type()
virtual bool init(CFeatures *l, CFeatures *r)
float64_t compute(int32_t idx_a, int32_t idx_b)
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
CLocalityImprovedStringKernel()
Template class StringKernel, is the base class of all String Kernels.
The LocalityImprovedString kernel is inspired by the polynomial kernel. Comparing neighboring charact...