diff options
author | Wu, Ke <wuke@cs.umd.edu> | 2014-12-17 16:00:04 -0500 |
---|---|---|
committer | Wu, Ke <wuke@cs.umd.edu> | 2014-12-17 16:00:04 -0500 |
commit | b6dd5a683db9dda2d634dd2fdb76606819594901 (patch) | |
tree | 6d81454a2491b444a190262e62dae960ef13ebaa /utils/lbfgs.h | |
parent | 62249e8de1be27057649aa787b715af5727f8a7c (diff) |
Combine everything related to maxent to a single file
Diffstat (limited to 'utils/lbfgs.h')
-rw-r--r-- | utils/lbfgs.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/utils/lbfgs.h b/utils/lbfgs.h deleted file mode 100644 index 4d706f7a..00000000 --- a/utils/lbfgs.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef _LBFGS_H_ -#define _LBFGS_H_ - -#include <vector> - -// template<class FuncGrad> -// std::vector<double> -// perform_LBFGS(FuncGrad func_grad, const std::vector<double> & x0); - -std::vector<double> perform_LBFGS( - double (*func_grad)(const std::vector<double> &, std::vector<double> &), - const std::vector<double> &x0); - -std::vector<double> perform_OWLQN( - double (*func_grad)(const std::vector<double> &, std::vector<double> &), - const std::vector<double> &x0, const double C); - -const int LBFGS_M = 10; - -#endif |