32 #ifndef NESTEROVMOMENTUMCORRECTION_H
33 #define NESTEROVMOMENTUMCORRECTION_H
102 m_previous_descend_direction[idx]=tmp-negative_descend_direction;
104 pair.delta=m_previous_descend_direction[idx];
105 pair.descend_direction=(1.0+
m_weight)*pair.delta-tmp;
NesterovMomentumCorrection()
This implements the Nesterov's Accelerated Gradient (NAG) correction.
virtual ~NesterovMomentumCorrection()
SGVector< float64_t > m_previous_descend_direction
all of classes and functions are contained in the shogun namespace
This is a base class for momentum correction methods.
virtual DescendPair get_corrected_descend_direction(float64_t negative_descend_direction, index_t idx)