Public Member Functions

Stop_Training_Strategy Class Reference

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>

Inheritance diagram for Stop_Training_Strategy:
Inheritance graph
[legend]
Collaboration diagram for Stop_Training_Strategy:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

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.

MCPN Logo
kr0st © 2010