10 #ifndef CGRADIENTCRITERION_H_
11 #define CGRADIENTCRITERION_H_
56 m_direction=direction;
63 virtual const char*
get_name()
const {
return "GradientCriterion"; }
virtual const char * get_name() const
The class Labels models labels, i.e. class assignments of objects.
virtual ~CGradientCriterion()
virtual void set_evaluation_direction(EEvaluationDirection direction)
Simple class which specifies the direction of gradient search.
virtual float64_t evaluate(CLabels *predicted, CLabels *ground_truth)
all of classes and functions are contained in the shogun namespace
Class Evaluation, a base class for other classes used to evaluate labels, e.g. accuracy of classifica...
virtual EEvaluationDirection get_evaluation_direction() const