ANN
0.1.1.5
A library containing multiple neural network models written in C
|
PCFNN_BACKPROP. More...
#include "../../config.h"
#include <stdlib.h>
#include "neuron.h"
#include "layer.h"
#include "network.h"
Go to the source code of this file.
Functions | |
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... | |
void | PCFNN_NETWORK_apply_delta (struct PCFNN_NETWORK *net) |
Apply all delta calculated by PCFNN_NETWORK_backprop on the network net. More... | |
PCFNN_BACKPROP.
Backpropagation functions for PCFNN neural network
Definition in file backprop.h.
PCFNN_NETWORK_apply_delta | ( | struct PCFNN_NETWORK * | net | ) |
Apply all delta calculated by PCFNN_NETWORK_backprop on the network net.
[in] | net | (struct PCFNN_NETWORK*) a pointer an a PCFNN_NETWORK |
Definition at line 85 of file backprop.c.
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.
[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.