11 #ifndef _SNPSTRINGKERNEL_H___
12 #define _SNPSTRINGKERNEL_H___
52 CSNPStringKernel(int32_t size, int32_t degree, int32_t win_len,
bool inhomogene);
64 int32_t degree, int32_t win_len,
bool inhomogene);
131 virtual const char*
get_name()
const {
return "SNPStringKernel"; }
void obtain_base_strings()
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
virtual EKernelType get_kernel_type()
The class SNPStringKernel computes a variant of the polynomial kernel on strings of same length...
virtual bool init(CFeatures *l, CFeatures *r)
virtual ~CSNPStringKernel()
virtual void register_params()
virtual const char * get_name() const
void set_major_base_string(const char *str)
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
char * get_minor_base_string()
char * get_major_base_string()
Template class StringKernel, is the base class of all String Kernels.
void set_minor_base_string(const char *str)