14 #ifndef _KERNELDISTANCE_H___
15 #define _KERNELDISTANCE_H___
90 virtual const char*
get_name()
const {
return "KernelDistance"; }
virtual EFeatureClass get_feature_class()
Class Distance, a base class for all the distances used in the Shogun toolbox.
virtual ~CKernelDistance()
virtual EFeatureType get_feature_type()
The Kernel distance takes a distance as input.
EFeatureClass
shogun feature class
virtual EDistanceType get_distance_type()
float64_t compute(int32_t idx_a, int32_t idx_b)
virtual EFeatureType get_feature_type()=0
virtual const char * get_name() const
EFeatureType
shogun feature type
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
virtual bool init(CFeatures *l, CFeatures *r)
virtual EFeatureClass get_feature_class()=0