Learn R Programming

simpleMLP (version 1.0.0)

update: Update Model

Description

Updates the model using derivatives from a backward pass.

Usage

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