11 #ifndef _SIMPLEDISTANCE_H___
12 #define _SIMPLEDISTANCE_H___
45 SG_ERROR(
"train or test features #dimension mismatch (l:%d vs. r:%d)\n",
70 return "SimpleDistance"; }
virtual const char * get_name() const
Class Distance, a base class for all the distances used in the Shogun toolbox.
virtual EFeatureType get_feature_type()=0
virtual EDistanceType get_distance_type()=0
EFeatureClass
shogun feature class
virtual EFeatureClass get_feature_class()
virtual bool init(CFeatures *l, CFeatures *r)
virtual EFeatureClass get_feature_class()=0
template class SimpleDistance
EFeatureType
shogun feature type
virtual EFeatureType get_feature_type()
The class Features is the base class of all feature objects.
The class SimpleFeatures implements dense feature matrices.