13 #ifndef MLPACK_CORE_OPTIMIZERS_PARALLEL_SGD_EXP_BACKOFF_HPP 14 #define MLPACK_CORE_OPTIMIZERS_PARALLEL_SGD_EXP_BACKOFF_HPP 19 namespace optimization {
53 firstBackoffEpoch(firstBackoffEpoch),
54 cutoffEpoch(firstBackoffEpoch),
67 if (numEpoch >= cutoffEpoch)
70 cutoffEpoch += firstBackoffEpoch / beta;
77 size_t firstBackoffEpoch;
double StepSize(const size_t numEpoch)
Get the step size for the current gradient update.
The core includes that mlpack expects; standard C++ includes and Armadillo.
Exponential backoff stepsize reduction policy for parallel SGD.
ExponentialBackoff(const size_t firstBackoffEpoch, const double step, const double beta)
Member initializer constructor to construct the exponential backoff policy with the required paramete...