stopping.maxit: stopping.maxit function

View source: R/stopping_criteria.R

stopping.maxitR Documentation

stopping.maxit function

Description

A function to halt computation when the number of iterations reaches a given threshold, tol

Usage

## S3 method for class 'maxit'
stopping(cost, curcost, count, tol, ...)

Arguments

cost

the value of the loss function passed in

curcost

current measure of cost, can be different to the parameter 'cost' above e.g. may consider smoothed cost over the last k iterations

count

iteration count

tol

tolerance, or limit

...

additional arguments

Value

...


deepNN documentation built on Aug. 25, 2023, 5:14 p.m.