12 #ifndef _DISTANCE_MACHINE_H__
13 #define _DISTANCE_MACHINE_H__
25 class CMulticlassLabels;
79 virtual const char*
get_name()
const {
return "DistanceMachine"; }
CDistance * get_distance() const
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_lhs(float64_t *result, int32_t idx_a1, int32_t idx_a2, int32_t idx_b)
static void * run_distance_thread_lhs(void *p)
virtual const char * get_name() const
A generic DistanceMachine interface.
A generic learning machine interface.
Multiclass Labels for multi-class classification.
virtual float64_t apply_one(int32_t num)
void distances_rhs(float64_t *result, int32_t idx_b1, int32_t idx_b2, int32_t idx_a)
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)
static void * run_distance_thread_rhs(void *p)