11 #ifndef _SPARSEEUCLIDEANDISTANCE_H__
12 #define _SPARSEEUCLIDEANDISTANCE_H__
22 template <
class T>
class CSparseFeatures;
66 virtual const char*
get_name()
const {
return "SparseEuclideanDistance"; }
virtual EDistanceType get_distance_type()
virtual EFeatureType get_feature_type()
CSparseEuclideanDistance()
class SparseEucldeanDistance
template class SparseDistance
virtual const char * get_name() const
virtual ~CSparseEuclideanDistance()
virtual bool init(CFeatures *l, CFeatures *r)
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
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.