28 void CGradientEvaluation::init()
31 m_parameter_dictionary=NULL;
33 SG_ADD((
CSGObject**)&m_diff,
"differentiable_function",
"Differentiable "
43 void CGradientEvaluation::update_parameter_dictionary()
49 SG_REF(m_parameter_dictionary);
55 update_parameter_dictionary();
65 m_parameter_dictionary);
virtual void update_parameter_hash()
The class Labels models labels, i.e. class assignments of objects.
virtual SGVector< float64_t > get_value()=0
virtual void set_value(SGVector< float64_t > value)
virtual CMap< TParameter *, SGVector< float64_t > > * get_gradient(CMap< TParameter *, CSGObject * > *parameters)=0
A generic learning machine interface.
virtual void set_gradient(CMap< TParameter *, SGVector< float64_t > > *gradient)
virtual CEvaluationResult * evaluate()
virtual void set_paramter_dictionary(CMap< TParameter *, CSGObject * > *parameter_dictionary)
Class SGObject is the base class of all shogun objects.
void build_gradient_parameter_dictionary(CMap< TParameter *, CSGObject * > *dict)
virtual ~CGradientEvaluation()
Abstract class that contains the result generated by the MachineEvaluation class. ...
Machine Evaluation is an abstract class that evaluates a machine according to some criterion...
all of classes and functions are contained in the shogun namespace
Container class that returns results from GradientEvaluation. It contains the function value as well ...
The class Features is the base class of all feature objects.
virtual bool parameter_hash_changed()
Class Evaluation, a base class for other classes used to evaluate labels, e.g. accuracy of classifica...
the class CMap, a map based on the hash-table. w: http://en.wikipedia.org/wiki/Hash_table ...