LearningAlgorithm Class Reference

LearningAlgorithm object. More...

Inheritance diagram for LearningAlgorithm:

Inheritance graph
[legend]
Collaboration diagram for LearningAlgorithm:

Collaboration graph
[legend]
List of all members.

Constructors

 LearningAlgorithm (BaseNeuralNet *net)
virtual ~LearningAlgorithm ()

Interface

BaseNeuralNetnet ()
virtual void learn ()=0
virtual void learn (const Pattern &)=0
virtual void learnOnSet (const PatternSet &set)
virtual Real calculateMSE (const Pattern &)=0
virtual Real calculateMSEOnSet (const PatternSet &set)
Real calculateRMSD (const Pattern &p)
Real calculateRMSDOnSet (const PatternSet &p)

Detailed Description

The LearningAlgorithm object is a the abstract class from which to implement learning algorithms


Constructor & Destructor Documentation

LearningAlgorithm ( BaseNeuralNet net  ) 

Constructor

virtual ~LearningAlgorithm (  )  [virtual]

Destructor


Member Function Documentation

BaseNeuralNet* net (  )  [inline]

Return the BaseNeuralNet setted

virtual void learn (  )  [pure virtual]

a single step of learning algorithm

Implemented in BackPropagationAlgo.

virtual void learn ( const Pattern  )  [pure virtual]

Modify the object tring to learn the pattern passed

Implemented in BackPropagationAlgo.

virtual void learnOnSet ( const PatternSet set  )  [inline, virtual]

Modify the object tring to learn all patterns present into PatternSet passed

virtual Real calculateMSE ( const Pattern  )  [pure virtual]

Calculate the Mean Square Error respect to Pattern passed

Implemented in BackPropagationAlgo.

virtual Real calculateMSEOnSet ( const PatternSet set  )  [inline, virtual]

Calculate the Mean Square Error respect to all Patterns passed

Real calculateRMSD ( const Pattern p  )  [inline]

Calculate the Root Mean Square Deviation, i.e. the square root of MSE

Real calculateRMSDOnSet ( const PatternSet p  )  [inline]

Calculate the Root Mean Square Deviation, i.e. the square root of MSE


The documentation for this class was generated from the following file:
BerliOS Developer Logo Valid XHTML 1.0 Transitional Valid CSS!