11 #ifndef _SALZBERGWORDSTRINGKERNEL_H___
12 #define _SALZBERGWORDSTRINGKERNEL_H___
98 virtual const char*
get_name()
const {
return "SalzbergWordStringKernel" ; }
CPluginEstimate * estimate
virtual EKernelType get_kernel_type()
The class Labels models labels, i.e. class assignments of objects.
CSalzbergWordStringKernel()
int32_t compute_index(int32_t position, uint16_t symbol)
The SalzbergWordString kernel implements the Salzberg kernel.
virtual ~CSalzbergWordStringKernel()
float64_t compute(int32_t idx_a, int32_t idx_b)
void set_prior_probs_from_labels(CLabels *labels)
virtual const char * get_name() const
all of classes and functions are contained in the shogun namespace
void set_prior_probs(float64_t pos_prior_, float64_t neg_prior_)
The class Features is the base class of all feature objects.
Template class StringKernel, is the base class of all String Kernels.