NNetCpp
Neural network implementation in C++
 All Classes Namespaces Functions Variables
Public Member Functions | List of all members
IterationCondition Class Reference

#include <IterationCondition.h>

Inheritance diagram for IterationCondition:
StopCondition

Public Member Functions

 IterationCondition (int allowedIterations)
 
bool check (int iteration, double error)
 

Detailed Description

Condition for stopping Neural Network training after a fixed amount of training iterations

Constructor & Destructor Documentation

IterationCondition::IterationCondition ( int  allowedIterations)

Create a new IterationCondition that will allow given amount of iterations

Parameters
allowedIterationsamount of iterations to allow

Member Function Documentation

bool IterationCondition::check ( int  iteration,
double  error 
)
virtual

Control if the last iteration has been met
Inherits:
Control if the condition has been met

Parameters
iterationamount of training iterations ran
errorcurrent error from evaluation
Returns
if training is done

Implements StopCondition.


The documentation for this class was generated from the following files: