Description Usage Arguments Value
Applies backward propagation to calculate loss. Reproduced from CASL.
1 | nn_backward_prop(x, y, weights, f_obj, sigma_p, f_p)
|
x |
a numeric vector |
y |
a numeric vector |
weights |
a list created by nn_make_weights |
f_obj |
a list created by nn_forward_prop |
sigma_p |
derivative of activation function |
f_p |
derivative of the loss function |
a list of updated weights and responses
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.