11 #ifndef _REGULATORYMODULESSTRINGKERNEL_H___
12 #define _REGULATORYMODULESSTRINGKERNEL_H___
57 float64_t width, int32_t degree, int32_t shift, int32_t window, int32_t size=10);
80 virtual const char*
get_name()
const {
return "RegulatoryModulesStringKernel"; }
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
SGVector< float64_t > weights
CDenseFeatures< uint16_t > * motif_positions_rhs
virtual bool init(CFeatures *l, CFeatures *r)
float64_t compute_wds(char *avec, char *bvec, int32_t len)
virtual EKernelType get_kernel_type()
virtual ~CRegulatoryModulesStringKernel()
The Regulaty Modules kernel, based on the WD kernel, as published in Schultheiss et al...
CDenseFeatures< uint16_t > * motif_positions_lhs
all of classes and functions are contained in the shogun namespace
void set_motif_positions(CDenseFeatures< uint16_t > *positions_lhs, CDenseFeatures< uint16_t > *positions_rhs)
CRegulatoryModulesStringKernel()
virtual const char * get_name() const
The class Features is the base class of all feature objects.
SGVector< float64_t > position_weights
Template class StringKernel, is the base class of all String Kernels.