Where the
are choosen parameters. They are usually those of a gnn_weight : Affine / Linear Transform linear transform node.
The gradient is:
Functions | |
| double | gnn_weight_decay_e (gnn_criterion *crit, const gsl_vector *y, const gsl_vector *t) |
| The evaluation function. | |
| int | gnn_weight_decay_dy (gnn_criterion *crit, const gsl_vector *y, const gsl_vector *t, gsl_vector *dy) |
| The gradient evaluation function. | |
| void | gnn_weight_decay_destroy (gnn_criterion *crit) |
| The destroy function. | |
| gnn_criterion * | gnn_weight_decay_new (gnn_criterion *crit, double nu, gnn_node *node) |
| Creates a Weight Decay regularization for gnn_weight : Affine / Linear Transform. | |
| gnn_criterion * | gnn_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_criterion * | gnn_weight_decay_new_with_pbundle (gnn_criterion *crit, double nu, gnn_pbundle *pb) |
| Creates a Weight Decay regularization for a given parameter bundle. | |
| int | gnn_weight_decay_set_nu (gnn_criterion *crit, double nu) |
| Sets the regularization coefficient. | |
| double | gnn_weight_decay_get_nu (gnn_criterion *crit) |
| Gets the regularization coefficient. | |
|
|
This function implements destroy function.
Definition at line 204 of file gnn_weight_decay.c. |
|
||||||||||||||||||||
|
This function implements criterion's gradient evaluation function.
Definition at line 153 of file gnn_weight_decay.c. |
|
||||||||||||||||
|
This function corresponds to the evaluation function.
Definition at line 100 of file gnn_weight_decay.c. |
|
|
This function gets the currently used regularization coefficient of the gnn_weight_decay regularizer.
Definition at line 429 of file gnn_weight_decay.c. |
|
||||||||||||||||
|
This function builds a new gnn_weight_decay regularizator for all gnn_weight : Affine / Linear Transform nodes contained in the given node node.
Definition at line 243 of file gnn_weight_decay.c. |
|
||||||||||||||||
|
This function builds a new gnn_weight_decay regularizator for all parameters contained in the given parameter bundle pb.
Definition at line 321 of file gnn_weight_decay.c. |
|
||||||||||||||||||||
|
This function builds a new gnn_weight_decay regularizator for all nodes of type type contained in the given node node.
Definition at line 280 of file gnn_weight_decay.c. |
|
||||||||||||
|
This function sets a new regularization coefficient for the gnn_weight_decay regularizer. It should be positive.
Definition at line 401 of file gnn_weight_decay.c. |
1.2.18