12 #ifndef _DISTANCE_MACHINE_H__
13 #define _DISTANCE_MACHINE_H__
83 virtual const char*
get_name()
const {
return "DistanceMachine"; }
123 SG_ERROR(
"store_model_features not yet implemented for %s!\n",
Class Distance, a base class for all the distances used in the Shogun toolbox.
virtual void store_model_features()
The class Labels models labels, i.e. class assignments of objects.
virtual ~CDistanceMachine()
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.
void distances_rhs(float64_t *result, int32_t idx_b1, int32_t idx_b2, int32_t idx_a)
The class Features is the base class of all feature objects.
void set_distance(CDistance *d)
static void * run_distance_thread_rhs(void *p)
virtual CLabels * apply()
CDistance * get_distance()