LearningAlgorithm object. More...

Public Member Functions | |
| LearningAlgorithm (NeuralNet *net) | |
| Constructor. More... | |
| LearningAlgorithm () | |
| Constructor. More... | |
| virtual | ~LearningAlgorithm () |
| Destructor. More... | |
| virtual double | calculateMSE (const Pattern &)=0 |
| Calculate the Mean Square Error respect to Pattern passed. More... | |
| virtual double | calculateMSEOnSet (const PatternSet &set) |
| Calculate the Mean Square Error respect to all Patterns passed. More... | |
| double | calculateRMSD (const Pattern &p) |
| Calculate the Root Mean Square Deviation, i.e. More... | |
| double | calculateRMSDOnSet (const PatternSet &p) |
| Calculate the Root Mean Square Deviation, i.e. More... | |
| virtual void | learn ()=0 |
| a single step of learning algorithm More... | |
| virtual void | learn (const Pattern &)=0 |
| Modify the object tring to learn the pattern passed. More... | |
| virtual void | learnOnSet (const PatternSet &set) |
| Modify the object tring to learn all patterns present into PatternSet passed. More... | |
| PatternSet | loadPatternSet (ConfigurationParameters ¶ms, QString path, QString prefix) |
| Utility function for loading a PatternSet from a ConfigurationParameters. More... | |
| NeuralNet * | neuralNet () |
| Return the NeuralNet setted. More... | |
| void | savePatternSet (PatternSet &set, ConfigurationParameters ¶ms, QString prefix) |
| Utility function for saving a PatternSet to a ConfigurationParameters. More... | |
| void | setNeuralNet (NeuralNet *net) |
| Set the NeuralNet to learn. More... | |
Public Member Functions inherited from ParameterSettableWithConfigureFunction | |
| virtual void | configure (ConfigurationParameters ¶ms, QString prefix)=0 |
Public Member Functions inherited from ParameterSettable | |
| void | addObserver (RuntimeParameterObserver *obs) |
| T | getRuntimeParameter (QString paramName) |
| virtual ParameterSettableUI * | getUIManager () |
| virtual void | postConfigureInitialization () |
| void | removeObserver (RuntimeParameterObserver *obs) |
| virtual void | save (ConfigurationParameters ¶ms, QString prefix)=0 |
| void | setRuntimeParameter (QString paramName, T newvalue) |
| QString | typeName () const |
Protected Member Functions | |
| virtual void | neuralNetChanged ()=0 |
| Implemented by subclasses for configuring internal structure when the NeuralNet has been setted. More... | |
Protected Member Functions inherited from ParameterSettable | |
| void | notifyChangesToParam (QString paramName) |
Additional Inherited Members | |
Public Types inherited from ParameterSettable | |
| enum | Property |
Static Public Member Functions inherited from ParameterSettable | |
| static void | describe (QString type) |
| static QString | fullParameterDescriptionPath (QString type, QString param) |
| static QString | fullSubgroupDescriptionPath (QString type, QString sub) |
Public Attributes inherited from ParameterSettable | |
| AllowMultiple | |
| Default | |
| IsList | |
| IsMandatory | |
Static Public Attributes inherited from ParameterSettable | |
| static const double | Infinity |
| static const int | MaxInteger |
| static const int | MinInteger |
Static Protected Member Functions inherited from ParameterSettable | |
| static Descriptor | addTypeDescription (QString type, QString shortHelp, QString longHelp=QString("")) |
| static void | setGraphicalEditor (QString type) |
Detailed Description
LearningAlgorithm object.
The LearningAlgorithm object is a the abstract class from which to implement learning algorithms
Definition at line 137 of file learningalgorithm.h.
Constructor & Destructor Documentation
| LearningAlgorithm | ( | NeuralNet * | net | ) |
Constructor.
Definition at line 134 of file learningalgorithm.cpp.
Constructor.
Definition at line 139 of file learningalgorithm.cpp.
|
virtual |
Destructor.
Definition at line 144 of file learningalgorithm.cpp.
Member Function Documentation
|
pure virtual |
Calculate the Mean Square Error respect to Pattern passed.
Implemented in BackPropagationAlgo.
|
inlinevirtual |
Calculate the Mean Square Error respect to all Patterns passed.
Definition at line 167 of file learningalgorithm.h.
|
inline |
Calculate the Root Mean Square Deviation, i.e.
the square root of MSE
Definition at line 176 of file learningalgorithm.h.
|
inline |
Calculate the Root Mean Square Deviation, i.e.
the square root of MSE
Definition at line 180 of file learningalgorithm.h.
|
pure virtual |
a single step of learning algorithm
Implemented in BackPropagationAlgo.
|
pure virtual |
Modify the object tring to learn the pattern passed.
Implemented in BackPropagationAlgo.
|
inlinevirtual |
Modify the object tring to learn all patterns present into PatternSet passed.
Definition at line 159 of file learningalgorithm.h.
| PatternSet loadPatternSet | ( | ConfigurationParameters & | params, |
| QString | path, | ||
| QString | prefix | ||
| ) |
Utility function for loading a PatternSet from a ConfigurationParameters.
Definition at line 147 of file learningalgorithm.cpp.
References ConfigurationParameters::getGroupsWithPrefixList(), ConfigurationParameters::getObjectFromGroup(), ConfigurationParameters::startRememberingGroupObjectAssociations(), and ConfigurationParameters::stopRememberingGroupObjectAssociations().
|
inline |
Return the NeuralNet setted.
Definition at line 151 of file learningalgorithm.h.
Referenced by BackPropagationAlgo::calculateMSE(), BackPropagationAlgo::learn(), BackPropagationAlgo::neuralNetChanged(), and BackPropagationAlgo::save().
|
protectedpure virtual |
Implemented by subclasses for configuring internal structure when the NeuralNet has been setted.
Implemented in BackPropagationAlgo.
| void savePatternSet | ( | PatternSet & | set, |
| ConfigurationParameters & | params, | ||
| QString | prefix | ||
| ) |
Utility function for saving a PatternSet to a ConfigurationParameters.
Definition at line 161 of file learningalgorithm.cpp.
References ConfigurationParameters::createGroup().
|
inline |
Set the NeuralNet to learn.
Definition at line 146 of file learningalgorithm.h.
Referenced by BackPropagationAlgo::configure().
The documentation for this class was generated from the following files:
- nnfw/include/learningalgorithm.h
- nnfw/src/learningalgorithm.cpp
Public Member Functions inherited from