#include <math.h>#include <gsl/gsl_blas.h>#include "gnn_utilities.h"#include "gnn_lmbfgs.h"Include dependency graph for gnn_lmbfgs.c:

Go to the source code of this file.
Functions | |
| int | gnn_lmbfgs_reset (gnn_trainer *trainer) |
| The trainer's "reset" implementation. | |
| int | gnn_lmbfgs_iteration (gnn_lmbfgs *bf, double *A, double *B) |
| Computes the A and B coefficients. | |
| int | gnn_lmbfgs_train (gnn_trainer *trainer) |
| The trainer's "train" implementation. | |
| void | gnn_lmbfgs_destroy (gnn_trainer *trainer) |
| The trainers "destroy" implementation. | |
| gnn_trainer * | gnn_lmbfgs_new (gnn_node *node, gnn_criterion *crit, gnn_dataset *data) |
| Creates a new LMBFGS trainer. | |
| int | gnn_lmbfgs_set_tol (gnn_trainer *trainer, double tol) |
| Sets the precision tolerance for the line search procedure. | |
| double | gnn_lmbfgs_get_tol (gnn_trainer *trainer) |
| Gets the tolerance for the line search procedure. | |
| int | gnn_lmbfgs_set_step (gnn_trainer *trainer, double step) |
| Sets the initial step for the interval bracketing procedure. | |
| double | gnn_lmbfgs_get_step (gnn_trainer *trainer) |
| Gets the initial step for the interval bracketing procedure. | |
| int | gnn_lmbfgs_set_restart (gnn_trainer *trainer, size_t restart) |
| Sets the number of iterations before restarting. | |
| size_t | gnn_lmbfgs_get_restart (gnn_trainer *trainer) |
| Gets the number of iterations before reinitializing the direction. | |
| int | gnn_lmbfgs_set_line_search (gnn_trainer *trainer, gnn_line_search_type lsearch) |
| Sets the line search procedure. | |
| gnn_line_search_type | gnn_lmbfgs_get_alpha (gnn_trainer *trainer) |
| Gets the installed line search procedure. | |
|
|
Definition at line 182 of file gnn_lmbfgs.c. |
1.2.18