ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector > Class Template Reference

#include <itkErrorBackPropagationLearningWithMomentum.h>

+ Inheritance diagram for itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >:
+ Collaboration diagram for itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >:

Detailed Description

template<typename LayerType, typename TTargetVector>
class itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >

The ErrorBackPropagationLearningWithMomentum is the base class for all the ErrorBackPropagationLearning strategies.

ErrorBackPropagationLearning strategies include error back propagation, bp+momentum, conjugte gradient descent, and quick prop.

This class specifies how the errors are backpropagated for a layer. They take a LayerBase object as input and compute the input for the layers input weightset

Definition at line 42 of file itkErrorBackPropagationLearningWithMomentum.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
LayerType::LayerInterfaceType 
LayerInterfaceType
 
typedef SmartPointer< SelfPointer
 
typedef
ErrorBackPropagationLearningWithMomentum 
Self
 
typedef LearningFunctionBase
< typename
LayerType::LayerInterfaceType,
TTargetVector > 
Superclass
 
typedef Superclass::ValueType ValueType
 
- Public Types inherited from itk::Statistics::LearningFunctionBase< LayerType::LayerInterfaceType, TTargetVector >
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LearningFunctionBase Self
 
typedef LightProcessObject Superclass
 
typedef LayerType::ValueType ValueType
 
- Public Types inherited from itk::LightProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
virtual void Learn (LayerInterfaceType *layer, ValueType learningrate) override
 
virtual void Learn (LayerInterfaceType *layer, TTargetVector errors, ValueType learningrate) override
 
- Public Member Functions inherited from itk::Statistics::LearningFunctionBase< LayerType::LayerInterfaceType, TTargetVector >
virtual void Learn (LayerType *layer, ValueType)=0
 
virtual void Learn (LayerType *layer, TTargetVector error, ValueType)=0
 
- Public Member Functions inherited from itk::LightProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual const bool & GetAbortGenerateData () const
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void UpdateOutputData ()
 
void UpdateProgress (float amount)
 
virtual void SetProgress (float _arg)
 
virtual const float & GetProgress () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::LightProcessObject
static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

 ErrorBackPropagationLearningWithMomentum ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual ~ErrorBackPropagationLearningWithMomentum () override
 
- Protected Member Functions inherited from itk::Statistics::LearningFunctionBase< LayerType::LayerInterfaceType, TTargetVector >
 LearningFunctionBase ()
 
 ~LearningFunctionBase () override
 
- Protected Member Functions inherited from itk::LightProcessObject
virtual void GenerateData ()
 
 LightProcessObject ()
 
 ~LightProcessObject () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

ValueType m_Momentum
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename LayerType , typename TTargetVector >
typedef SmartPointer<const Self> itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >::ConstPointer
template<typename LayerType , typename TTargetVector >
typedef LayerType::LayerInterfaceType itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >::LayerInterfaceType
template<typename LayerType , typename TTargetVector >
typedef SmartPointer<Self> itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >::Pointer
template<typename LayerType , typename TTargetVector >
typedef ErrorBackPropagationLearningWithMomentum itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >::Self
template<typename LayerType , typename TTargetVector >
typedef LearningFunctionBase<typename LayerType::LayerInterfaceType, TTargetVector> itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >::Superclass
template<typename LayerType , typename TTargetVector >
typedef Superclass::ValueType itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >::ValueType

Constructor & Destructor Documentation

template<typename LayerType , typename TTargetVector >
itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >::ErrorBackPropagationLearningWithMomentum ( )
protected
template<typename LayerType , typename TTargetVector >
virtual itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >::~ErrorBackPropagationLearningWithMomentum ( )
inlineoverrideprotectedvirtual

Member Function Documentation

template<typename LayerType , typename TTargetVector >
virtual::itk::LightObject::Pointer itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::LightProcessObject.

template<typename LayerType , typename TTargetVector >
virtual const char* itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >::GetNameOfClass ( ) const
virtual

Method for creation through the object factory.

Reimplemented from itk::Statistics::LearningFunctionBase< LayerType::LayerInterfaceType, TTargetVector >.

template<typename LayerType , typename TTargetVector >
virtual void itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >::Learn ( LayerInterfaceType layer,
ValueType  learningrate 
)
overridevirtual
template<typename LayerType , typename TTargetVector >
virtual void itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >::Learn ( LayerInterfaceType layer,
TTargetVector  errors,
ValueType  learningrate 
)
overridevirtual
template<typename LayerType , typename TTargetVector >
static Pointer itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >::New ( )
static

Method for creation through the object factory.

template<typename LayerType , typename TTargetVector >
virtual void itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Member Data Documentation

template<typename LayerType , typename TTargetVector >
ValueType itk::Statistics::ErrorBackPropagationLearningWithMomentum< LayerType, TTargetVector >::m_Momentum
protected

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