Go to the source code of this file.
|
ANN_INLINE void | PCFNN_LAYER_backward_hidden (struct PCFNN_LAYER *l, double eta, double alpha) |
|
ANN_INLINE void | PCFNN_LAYER_backward_output (struct PCFNN_LAYER *l, double *target, double(*f_cost)(double, double), double eta, double alpha) |
|
ANN_INLINE void | PCFNN_NETWORK_backward (struct PCFNN_NETWORK *net, double *target, double(*f_cost)(double, double), double eta, double alpha) |
|
void | PCFNN_NETWORK_backprop (struct PCFNN_NETWORK *net, double *target, double eta, double alpha, double(*f_cost)(double, double)) |
| Run the Backpropagation Algorithm on the network net. More...
|
|
ANN_INLINE void | PCFNN_LAYER_apply_delta (struct PCFNN_LAYER *l) |
|
void | PCFNN_NETWORK_apply_delta (struct PCFNN_NETWORK *net) |
| Apply all delta calculated by PCFNN_NETWORK_backprop on the network net. More...
|
|
◆ PCFNN_LAYER_apply_delta()
ANN_INLINE void PCFNN_LAYER_apply_delta |
( |
struct PCFNN_LAYER * |
l | ) |
|
◆ PCFNN_LAYER_backward_hidden()
ANN_INLINE void PCFNN_LAYER_backward_hidden |
( |
struct PCFNN_LAYER * |
l, |
|
|
double |
eta, |
|
|
double |
alpha |
|
) |
| |
◆ PCFNN_LAYER_backward_output()
ANN_INLINE void PCFNN_LAYER_backward_output |
( |
struct PCFNN_LAYER * |
l, |
|
|
double * |
target, |
|
|
double(*)(double, double) |
f_cost, |
|
|
double |
eta, |
|
|
double |
alpha |
|
) |
| |
◆ PCFNN_NETWORK_apply_delta()
Apply all delta calculated by PCFNN_NETWORK_backprop on the network net.
- Parameters
-
Definition at line 85 of file backprop.c.
◆ PCFNN_NETWORK_backprop()
void PCFNN_NETWORK_backprop |
( |
struct PCFNN_NETWORK * |
net, |
|
|
double * |
target, |
|
|
double |
eta, |
|
|
double |
alpha, |
|
|
double(*)(double, double) |
f_cost |
|
) |
| |
Run the Backpropagation Algorithm on the network net.
- Parameters
-
[in] | net | (struct PCFNN_NETWORK*) a pointer an a PCFNN_NETWORK |
[in] | target | (double*) double array: expected output of the output layer of net |
[in] | eta | (double) learning rate |
[in] | alpha | (double) momentum rate |
[in] | f_cost | (double(*f_cost)(double, double)) a cost function pointer |
Definition at line 64 of file backprop.c.
◆ PCFNN_NETWORK_backward()
ANN_INLINE void PCFNN_NETWORK_backward |
( |
struct PCFNN_NETWORK * |
net, |
|
|
double * |
target, |
|
|
double(*)(double, double) |
f_cost, |
|
|
double |
eta, |
|
|
double |
alpha |
|
) |
| |