update_lambda: Update lambda

Description Usage Arguments

View source: R/originalRcode.R

Description

Update the forgetting factor lambda using the derivative of a particular cost function

Usage

1
update_lambda(lambda_old, signchosen, alpha, deriv_new)

Arguments

lambda_old

The old (previous) value of lambda.

signchosen

Either +1 or -1. Usually -1.

alpha

The value of the step-size in the gradient descent. In the paper this is named ε.

deriv_new

The value of the derivative at the current time.


ffstream documentation built on May 29, 2017, 10:33 p.m.

Search within the ffstream package
Search all R packages, documentation and source code