Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

gnn_evaluation.c File Reference

#include "gnn_evaluation.h"

Include dependency graph for gnn_evaluation.c:

Include dependency graph

Go to the source code of this file.

Functions

gnn_evalgnn_eval_new (gnn_node *node, gnn_input *in, gnn_output *out)
 Builds a new buffer for output evaluation.

void gnn_eval_destroy (gnn_eval *eval)
 Destroys an evaluation buffer.

int gnn_eval_pats (gnn_eval *eval, size_t s, size_t n)
 Computes the outputs for a given input set.

int gnn_eval_all (gnn_eval *eval)
 Computes the outputs for a given input set.

gnn_gradgnn_grad_new (gnn_node *node, gnn_criterion *crit, gnn_dataset *data)
 Builds a new buffer for gradient evaluation.

void gnn_grad_destroy (gnn_grad *grad)
 Destroys a gradient buffer.

int gnn_grad_pats (gnn_grad *grad, gnn_grad_eval flag, size_t s, size_t n)
 Compute the mean cost and gradients.

int gnn_grad_all (gnn_grad *grad, gnn_grad_eval flag)
 Compute the mean cost and gradients.

gnn_linegnn_line_new (gnn_grad *grad, gsl_vector *direction)
 Returns a new buffer structure for line evaluations.

void gnn_line_destroy (gnn_line *line)
 Destroys a given line evaluation buffer.

int gnn_line_set_direction (gnn_line *line, const gsl_vector *dir)
 Sets a new direction for the Evaluations. structure.

const gsl_vector * gnn_line_get_direction (gnn_line *line)
 Gets the installed directional vector .

int gnn_line_set_origin (gnn_line *line, const gsl_vector *origin)
 Sets a new origin for the Evaluations. structure.

const gsl_vector * gnn_line_get_origin (gnn_line *line)
 Gets the installed origin vector .

gnn_gradgnn_line_get_grad (gnn_line *line)
 Gets the installed Evaluations. evaluation buffer.

int gnn_line_pats (gnn_line *line, double alpha, gnn_line_eval flag, size_t s, size_t n)
 Compute mean cost and gradients along a direction for a minibatch.

int gnn_line_all (gnn_line *line, double alpha, gnn_line_eval flag)
 Compute mean cost and gradients along a direction for a minibatch.


Generated on Sun Jun 13 20:50:31 2004 for libgnn Gradient Retropropagation Machine Library by doxygen1.2.18