updateStopping.regression: updateStopping.regression function

Description Usage Arguments Value

View source: R/stopping_criteria.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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 March 13, 2020, 2:24 a.m.