nn_backward_prop: Backward propagation function for a neural net

Description Usage Arguments Value

Description

Applies backward propagation to calculate loss. Reproduced from CASL.

Usage

1
nn_backward_prop(x, y, weights, f_obj, sigma_p, f_p)

Arguments

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

Value

a list of updated weights and responses


casxue/bis557 documentation built on May 7, 2019, 5 a.m.