updateStopping.regression: updateStopping.regression function

View source: R/stopping_criteria.R

updateStopping.regressionR Documentation

updateStopping.regression function

Description

A function to update the stopping criteria for a classification problem.

Usage

## S3 method for class 'regression'
updateStopping(
  dat,
  parms,
  net,
  truth,
  testoutput,
  count,
  monitor,
  mx,
  curcost,
  ...
)

Arguments

dat

data object

parms

model parameters

net

an object of class network

truth

the truth, to be compared with network outputs

testoutput

a vector, the history of the stopping criteria

count

iteration number

monitor

logical, whether to produce a diagnostic plot

mx

a number to be monitored e.g. the cost of the best performing paramerer configuration to date

curcost

current measure of cost, can be different to the value of the loss function e.g. may consider smoothed cost (i.e. loss) over the last k iterations

...

additional arguments

Value

curcost, testoutput and mx, used for iterating the maximisation process


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