A function to update the stopping criteria for a classification problem.
# S3 method for classification
updateStopping(
dat,
parms,
net,
truth,
testoutput,
count,
monitor,
mx,
curcost,
...
)
curcost, testoutput and mx, used for iterating the maximisation process
data object
model parameters
an object of class network
the truth, to be compared with network outputs
a vector, the history of the stopping criteria
iteration number
logical, whether to produce a diagnostic plot
a number to be monitored e.g. the cost of the best performing paramerer configuration to date
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