update: Update Model

Description Usage Arguments Value

View source: R/nn.R

Description

Updates the model using derivatives from a backward pass.

Usage

1
update(model, back_pass, alpha)

Arguments

model

list of all the weights and biases

back_pass

derivatives from a backwards pass through the network

alpha

learning rate

Value

updated list of the weights and biases


simpleMLP documentation built on March 28, 2021, 9:07 a.m.