gradients: calculate gradients in neural network.

Description Usage Arguments Value

View source: R/backprop.R

Description

calculate gradients in neural network.

Usage

1
gradients(nn, error, acti)

Arguments

nn

neural network object.

error

list of errors.

acti

list of activations.

Value

list of matrices of errors for derivatives.


wiper8/AI documentation built on Dec. 23, 2021, 5:15 p.m.