12 #ifndef MLPACK_CORE_OPTIMIZERS_PROBLEMS_BUKIN_FUNCTION_HPP 13 #define MLPACK_CORE_OPTIMIZERS_PROBLEMS_BUKIN_FUNCTION_HPP 18 namespace optimization {
73 double Evaluate(
const arma::mat& coordinates,
75 const size_t batchSize)
const;
82 double Evaluate(
const arma::mat& coordinates)
const;
92 void Gradient(
const arma::mat& coordinates,
95 const size_t batchSize)
const;
103 void Gradient(
const arma::mat& coordinates, arma::mat& gradient);
119 #endif // MLPACK_CORE_OPTIMIZERS_PROBLEMS_BUKIN_FUNCTION_HPP double Evaluate(const arma::mat &coordinates, const size_t begin, const size_t batchSize) const
BukinFunction(const double epsilon=1e-8)
The core includes that mlpack expects; standard C++ includes and Armadillo.
The Bukin function, defined by.
double Epsilon() const
Get the value used for numerical stability.
void Shuffle()
Shuffle the order of function visitation.
size_t NumFunctions() const
Return 1 (the number of functions).
double & Epsilon()
Modify the value used for numerical stability.
void Gradient(const arma::mat &coordinates, const size_t begin, arma::mat &gradient, const size_t batchSize) const
arma::mat GetInitialPoint() const
Get the starting point.