11 #ifndef _JENSENSHANNONKERNEL_H___ 12 #define _JENSENSHANNONKERNEL_H___ 14 #include <shogun/lib/config.h> 72 virtual const char*
get_name()
const {
return "JensenShannonKernel"; }
The Jensen-Shannon kernel operating on real-valued vectors computes the Jensen-Shannon distance betwe...
virtual EKernelType get_kernel_type()
Template class DotKernel is the base class for kernels working on DotFeatures.
virtual bool init(CFeatures *l, CFeatures *r)
virtual 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.
virtual ~CJensenShannonKernel()
virtual const char * get_name() const