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

gnn_weight_elimination.h File Reference

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

Include dependency graph for gnn_weight_elimination.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_elimination_new (gnn_criterion *crit, double nu, double wp, gnn_node *node)
 Creates a Weight Elimination regularization for gnn_weight : Affine / Linear Transform.

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

gnn_criteriongnn_weight_elimination_new_with_pbundle (gnn_criterion *crit, double nu, double wp, gnn_pbundle *pb)
 Creates a Weight Elimination regularization for a given pbundle.

int gnn_weight_elimination_prun (gnn_criterion *crit, double th)
 Perform parameter pruning.


Function Documentation

gnn_criterion* gnn_weight_elimination_new gnn_criterion   crit,
double    nu,
double    wp,
gnn_node   node
 

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

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

Definition at line 273 of file gnn_weight_elimination.c.

gnn_criterion* gnn_weight_elimination_new_with_pbundle gnn_criterion   crit,
double    nu,
double    wp,
gnn_pbundle   pb
 

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

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

Definition at line 361 of file gnn_weight_elimination.c.

gnn_criterion* gnn_weight_elimination_new_with_type gnn_criterion   crit,
double    nu,
double    wp,
gnn_node   node,
const char *    type
 

This function builds a new gnn_weight_elimination regularizer for all parameters that pertain to nodes of type type contained in the given node node.

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

Definition at line 316 of file gnn_weight_elimination.c.

int gnn_weight_elimination_prun gnn_criterion   crit,
double    th
 

This function pruns the penalized parameters that fall below the given threshold th in magnitude. These are frozen to zero.

Parameters:
crit  A pointer to a gnn_weight_elimination criterion.
th  The threshold for parameter pruning.
Returns:
Returns 0 if succeeded.

Definition at line 551 of file gnn_weight_elimination.c.


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