mlpack
git-master
|
UpdateClassic Class Reference
Use classic rule in the update step for FrankWolfe algorithm. More...
Public Member Functions | |
UpdateClassic () | |
Construct the classic update rule for FrankWolfe algorithm. More... | |
template < typename FunctionType > | |
void | Update (FunctionType &, const arma::mat &oldCoords, const arma::mat &s, arma::mat &newCoords, const size_t numIter) |
Classic update rule for FrankWolfe. More... | |
Detailed Description
Use classic rule in the update step for FrankWolfe algorithm.
That is, take , where
is the iteration number. The update rule would be:
Definition at line 29 of file update_classic.hpp.
Constructor & Destructor Documentation
◆ UpdateClassic()
|
inline |
Construct the classic update rule for FrankWolfe algorithm.
Definition at line 35 of file update_classic.hpp.
Member Function Documentation
◆ Update()
|
inline |
Classic update rule for FrankWolfe.
, where
- Parameters
-
function function to be optimized, not used in this update rule. oldCoords previous solution coords. s current linear_constr_solution result. newCoords output new solution coords. numIter current iteration number
Definition at line 49 of file update_classic.hpp.
The documentation for this class was generated from the following file:
- src/mlpack/core/optimizers/fw/update_classic.hpp
Generated by
