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

gnn_weight_decay.h File Reference

#include "gnn_node.h"
#include "gnn_criterion.h"

Include dependency graph for gnn_weight_decay.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

gnn_criteriongnn_weight_decay_new (gnn_criterion *crit, double nu, gnn_node *node)
 Creates a Weight Decay regularization for gnn_weight : Affine / Linear Transform.

gnn_criteriongnn_weight_decay_new_with_type (gnn_criterion *crit, double nu, gnn_node *node, const char *type)
 Creates a Weight Decay regularization for a given type.

gnn_criteriongnn_weight_decay_new_with_pbundle (gnn_criterion *crit, double nu, gnn_pbundle *pb)
 Creates a Weight Decay regularization for a given parameter bundle.


Function Documentation

gnn_criterion* gnn_weight_decay_new gnn_criterion   crit,
double    nu,
gnn_node   node
 

This function builds a new gnn_weight_decay regularizator for all gnn_weight : Affine / Linear Transform nodes contained in the given node node.

Parameters:
crit  A pointer to a gnn_weight_decay criterion.
nu  The regularization coefficient .
node  A pointer to a gnn_node.
Returns:
Returns a pointer to a gnn_weight_decay if succeeded or NULL.

Definition at line 243 of file gnn_weight_decay.c.

gnn_criterion* gnn_weight_decay_new_with_pbundle gnn_criterion   crit,
double    nu,
gnn_pbundle   pb
 

This function builds a new gnn_weight_decay regularizator for all parameters contained in the given parameter bundle pb.

Parameters:
crit  A pointer to a gnn_weight_decay criterion.
nu  The regularization coefficient .
pb  A gnn_pbundle.
Returns:
Returns a pointer to a gnn_weight_decay if succeeded or NULL.

Definition at line 321 of file gnn_weight_decay.c.

gnn_criterion* gnn_weight_decay_new_with_type gnn_criterion   crit,
double    nu,
gnn_node   node,
const char *    type
 

This function builds a new gnn_weight_decay regularizator for all nodes of type type contained in the given node node.

Parameters:
crit  A pointer to a gnn_weight_decay criterion.
nu  The regularization coefficient .
node  A pointer to a gnn_node.
type  A string containing the type.
Returns:
Returns a pointer to a gnn_weight_decay if succeeded or NULL.

Definition at line 280 of file gnn_weight_decay.c.


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