11 #ifndef _COSINEDISTANCE_H___ 12 #define _COSINEDISTANCE_H___ 14 #include <shogun/lib/config.h> 72 virtual const char*
get_name()
const {
return "CosineDistance"; }
virtual const char * get_name() const
virtual EDistanceType get_distance_type()
virtual bool init(CFeatures *l, CFeatures *r)
virtual ~CCosineDistance()
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.
template class DenseDistance