#include <math.h>#include "gnn_utilities.h"#include "gnn_weight_elimination.h"Include dependency graph for gnn_weight_elimination.c:

Go to the source code of this file.
Data Structures | |
| struct | _gnn_weight_elimination |
Typedefs | |
| typedef _gnn_weight_elimination | gnn_weight_elimination |
Functions | |
| double | gnn_weight_elimination_e (gnn_criterion *crit, const gsl_vector *y, const gsl_vector *t) |
| The evaluation function. | |
| int | gnn_weight_elimination_dy (gnn_criterion *crit, const gsl_vector *y, const gsl_vector *t, gsl_vector *dy) |
| The gradient evaluation function. | |
| void | gnn_weight_elimination_destroy (gnn_criterion *crit) |
| The destroy function. | |
| gnn_criterion * | gnn_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_criterion * | gnn_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_criterion * | gnn_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_set_nu (gnn_criterion *crit, double nu) |
| Sets the regularization coefficient. | |
| double | gnn_weight_elimination_get_nu (gnn_criterion *crit) |
| Gets the regularization coefficient. | |
| int | gnn_weight_elimination_set_wp (gnn_criterion *crit, double wp) |
Sets the scale parameter
. | |
| double | gnn_weight_elimination_get_wp (gnn_criterion *crit) |
Gets the current scale parameter
. | |
| int | gnn_weight_elimination_prun (gnn_criterion *crit, double th) |
| Perform parameter pruning. | |
|
|
Definition at line 75 of file gnn_weight_elimination.c. |
1.2.18