Sole purpose of this class is to determine when the training should be stopped. This is only a base with a pure virtual method should_stop to be implemented in child classes. Stop strategies are friends of Trainer class. More...
#include <Trainer.h>
Public Member Functions | |
Stop_Training_Strategy (Trainer *trainer) | |
Constructor. | |
virtual bool | should_stop ()=0 |
If this method returns "true" Trainer will stop coaching the network and store optimal net configuration in the provided stream. | |
virtual | ~Stop_Training_Strategy () |
Destructor. | |
virtual double | Get_MSE ()=0 |
Returns MSE corresponding to the trained network. |
Sole purpose of this class is to determine when the training should be stopped. This is only a base with a pure virtual method should_stop to be implemented in child classes. Stop strategies are friends of Trainer class.