Random descent policy for Stochastic Coordinate Descent(SCD). More...
Static Public Member Functions | |
template < typename ResolvableFunctionType > | |
| static size_t | DescentFeature (const size_t, const arma::mat &, const ResolvableFunctionType &function) |
| The DescentFeature method is used to get the descent coordinate for the current iteration of the SCD optimizer. More... | |
Random descent policy for Stochastic Coordinate Descent(SCD).
This descent scheme picks a the co-ordinate for the descent uniformly randomly.
For more information, see the following.
Definition at line 37 of file random_descent.hpp.
|
inlinestatic |
The DescentFeature method is used to get the descent coordinate for the current iteration of the SCD optimizer.
For more information regarding the interface of this policy with the optimizer, have a look at the SCD implementation.
| ResolvableFunctionType | The type of the function to be optimized. |
| iteration | The iteration number for which the feature is to be obtained. |
| iterate | The current value of the decision variable. |
| function | The function to be optimized. |
Definition at line 54 of file random_descent.hpp.
References mlpack::math::RandInt().