12 #ifndef MLPACK_CORE_OPTIMIZERS_SCD_DESCENT_POLICIES_CYCLIC_HPP 13 #define MLPACK_CORE_OPTIMIZERS_SCD_DESCENT_POLICIES_CYCLIC_HPP 18 namespace optimization {
52 template <
typename ResolvableFunctionType>
55 const ResolvableFunctionType&
function)
57 return iteration %
function.NumFeatures();
Cyclic descent policy for Stochastic Coordinate Descent(SCD).
Include all of the base components required to write mlpack methods, and the main mlpack Doxygen docu...
static size_t DescentFeature(const size_t iteration, const arma::mat &, const ResolvableFunctionType &function)
The DescentFeature method is used to get the descent coordinate for the current iteration.