12 #ifndef _DISTANCE_MACHINE_H__ 13 #define _DISTANCE_MACHINE_H__ 15 #include <shogun/lib/config.h> 25 class CMulticlassLabels;
79 virtual const char*
get_name()
const {
return "DistanceMachine"; }
Class Distance, a base class for all the distances used in the Shogun toolbox.
virtual void store_model_features()
virtual ~CDistanceMachine()
virtual CMulticlassLabels * apply_multiclass(CFeatures *data=NULL)
void distances_rhs(SGVector< float64_t > &result, int32_t idx_b1, int32_t idx_b2, int32_t idx_a)
A generic DistanceMachine interface.
A generic learning machine interface.
Multiclass Labels for multi-class classification.
virtual const char * get_name() const
void distances_lhs(SGVector< float64_t > &result, int32_t idx_a1, int32_t idx_a2, int32_t idx_b)
virtual float64_t apply_one(int32_t num)
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
void set_distance(CDistance *d)
CDistance * get_distance() const