Trees | Index | Help |
---|
Package Bio :: Package NeuralNetwork :: Module StopTraining :: Class ValidationIncreaseStop |
|
Class to stop training on a network when the validation error increases.
Normally, during training of a network, the error will always decrease on the set of data used in the training. However, if an independent set of data is used for validation, the error will decrease to a point, and then start to increase. This increase normally occurs due to the fact that the network is starting to learn noise in the training data set. This stopping criterion function will stop when the validation error increases.Method Summary | |
---|---|
Initialize the stopping criterion class. | |
Define when to stop iterating. |
Method Details |
---|
__init__(self,
max_iterations=None,
min_iterations=0,
verbose=0)
|
stopping_criteria(self, num_iterations, training_error, validation_error)Define when to stop iterating. |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Thu Mar 31 20:15:49 2005 | http://epydoc.sf.net |