11 #ifndef _TPPKKERNEL_H___ 12 #define _TPPKKERNEL_H___ 14 #include <shogun/lib/config.h> 84 virtual const char*
get_name()
const {
return "TensorProductPairKernel"; }
virtual ~CTensorProductPairKernel()
CTensorProductPairKernel()
Computes the Tensor Product Pair Kernel (TPPK).
EFeatureClass
shogun feature class
Template class DotKernel is the base class for kernels working on DotFeatures.
virtual void register_params()
virtual EFeatureClass get_feature_class()
virtual EKernelType get_kernel_type()
virtual const char * get_name() const
virtual bool init(CFeatures *l, CFeatures *r)
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
EFeatureType
shogun feature type
The class DenseFeatures implements dense feature matrices.
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
virtual EFeatureType get_feature_type()