Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType > Class Template Reference

#include <itkTrainingFunctionBase.h>

Inheritance diagram for itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >:

Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef TrainingFunctionBase Self
typedef LightProcessObject Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TSample::MeasurementVectorType VectorType
typedef TOutput::MeasurementVectorType OutputVectorType
typedef std::vector< VectorTypeInputSampleVectorType
typedef std::vector< OutputVectorTypeOutputSampleVectorType
typedef ScalarType ValueType
typedef NeuralNetworkObject<
VectorType, OutputVectorType
NetworkType
typedef ErrorFunctionBase<
OutputVectorType, ScalarType > 
PerformanceFunctionType
typedef SquaredDifferenceErrorFunction<
OutputVectorType, ScalarType > 
DefaultPerformanceType

Public Member Functions

virtual const char * GetNameOfClass () const
void SetTrainingSamples (TSample *samples)
void SetTargetValues (TOutput *targets)
void SetLearningRate (ValueType)
ValueType GetLearningRate ()
virtual void SetIterations (long _arg)
virtual const long & GetIterations ()
void SetPerformanceFunction (PerformanceFunctionType *f)
virtual void Train (NetworkType *, TSample *, TOutput *)
VectorType defaultconverter (typename TSample::MeasurementVectorType v)
OutputVectorType targetconverter (typename TOutput::MeasurementVectorType v)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 TrainingFunctionBase ()
 ~TrainingFunctionBase ()
virtual void PrintSelf (std::ostream &os, Indent indent) const

Protected Attributes

TSample * m_TrainingSamples
TOutput * m_SampleTargets
InputSampleVectorType m_InputSamples
OutputSampleVectorType m_Targets
long m_Iterations
ValueType m_LearningRate
PerformanceFunctionType::Pointer m_PerformanceFunction

template<class TSample, class TOutput, class ScalarType>
class itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >


Member Typedef Documentation

template<class TSample, class TOutput, class ScalarType>
typedef SmartPointer<const Self> itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::ConstPointer
 

Reimplemented from itk::LightProcessObject.

Reimplemented in itk::Statistics::BatchSupervisedTrainingFunction< TSample, TOutput, ScalarType >, and itk::Statistics::IterativeSupervisedTrainingFunction< TSample, TOutput, ScalarType >.

Definition at line 38 of file itkTrainingFunctionBase.h.

template<class TSample, class TOutput, class ScalarType>
typedef SquaredDifferenceErrorFunction<OutputVectorType, ScalarType> itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::DefaultPerformanceType
 

Definition at line 54 of file itkTrainingFunctionBase.h.

template<class TSample, class TOutput, class ScalarType>
typedef std::vector<VectorType> itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::InputSampleVectorType
 

Definition at line 49 of file itkTrainingFunctionBase.h.

template<class TSample, class TOutput, class ScalarType>
typedef NeuralNetworkObject<VectorType, OutputVectorType> itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::NetworkType
 

Reimplemented in itk::Statistics::BatchSupervisedTrainingFunction< TSample, TOutput, ScalarType >, and itk::Statistics::IterativeSupervisedTrainingFunction< TSample, TOutput, ScalarType >.

Definition at line 52 of file itkTrainingFunctionBase.h.

Referenced by itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::Train().

template<class TSample, class TOutput, class ScalarType>
typedef std::vector<OutputVectorType> itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::OutputSampleVectorType
 

Definition at line 50 of file itkTrainingFunctionBase.h.

template<class TSample, class TOutput, class ScalarType>
typedef TOutput::MeasurementVectorType itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::OutputVectorType
 

Definition at line 47 of file itkTrainingFunctionBase.h.

Referenced by itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::targetconverter().

template<class TSample, class TOutput, class ScalarType>
typedef ErrorFunctionBase<OutputVectorType, ScalarType> itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::PerformanceFunctionType
 

Definition at line 53 of file itkTrainingFunctionBase.h.

template<class TSample, class TOutput, class ScalarType>
typedef SmartPointer<Self> itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::Pointer
 

Reimplemented from itk::LightProcessObject.

Reimplemented in itk::Statistics::BatchSupervisedTrainingFunction< TSample, TOutput, ScalarType >, and itk::Statistics::IterativeSupervisedTrainingFunction< TSample, TOutput, ScalarType >.

Definition at line 37 of file itkTrainingFunctionBase.h.

template<class TSample, class TOutput, class ScalarType>
typedef TrainingFunctionBase itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::Self
 

Standard class typedefs.

Reimplemented from itk::LightProcessObject.

Reimplemented in itk::Statistics::BatchSupervisedTrainingFunction< TSample, TOutput, ScalarType >, and itk::Statistics::IterativeSupervisedTrainingFunction< TSample, TOutput, ScalarType >.

Definition at line 35 of file itkTrainingFunctionBase.h.

template<class TSample, class TOutput, class ScalarType>
typedef LightProcessObject itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::Superclass
 

Reimplemented from itk::LightProcessObject.

Reimplemented in itk::Statistics::BatchSupervisedTrainingFunction< TSample, TOutput, ScalarType >, and itk::Statistics::IterativeSupervisedTrainingFunction< TSample, TOutput, ScalarType >.

Definition at line 36 of file itkTrainingFunctionBase.h.

template<class TSample, class TOutput, class ScalarType>
typedef ScalarType itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::ValueType
 

Definition at line 51 of file itkTrainingFunctionBase.h.

template<class TSample, class TOutput, class ScalarType>
typedef TSample::MeasurementVectorType itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::VectorType
 

Definition at line 46 of file itkTrainingFunctionBase.h.

Referenced by itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::defaultconverter().


Constructor & Destructor Documentation

template<class TSample, class TOutput, class ScalarType>
itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::TrainingFunctionBase  )  [protected]
 

template<class TSample, class TOutput, class ScalarType>
itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::~TrainingFunctionBase  )  [inline, protected]
 

Definition at line 98 of file itkTrainingFunctionBase.h.


Member Function Documentation

template<class TSample, class TOutput, class ScalarType>
VectorType itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::defaultconverter typename TSample::MeasurementVectorType  v  )  [inline]
 

Definition at line 74 of file itkTrainingFunctionBase.h.

References itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::VectorType.

template<class TSample, class TOutput, class ScalarType>
virtual const long& itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::GetIterations  )  [virtual]
 

template<class TSample, class TOutput, class ScalarType>
ValueType itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::GetLearningRate  ) 
 

template<class TSample, class TOutput, class ScalarType>
virtual const char* itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::GetNameOfClass  )  const [virtual]
 

Method for creation through the object factory.

Reimplemented from itk::LightProcessObject.

Reimplemented in itk::Statistics::BatchSupervisedTrainingFunction< TSample, TOutput, ScalarType >, and itk::Statistics::IterativeSupervisedTrainingFunction< TSample, TOutput, ScalarType >.

template<class TSample, class TOutput, class ScalarType>
Pointer itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::LightProcessObject.

Reimplemented in itk::Statistics::BatchSupervisedTrainingFunction< TSample, TOutput, ScalarType >, and itk::Statistics::IterativeSupervisedTrainingFunction< TSample, TOutput, ScalarType >.

template<class TSample, class TOutput, class ScalarType>
virtual void itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Method to print the object.

Reimplemented from itk::LightProcessObject.

Reimplemented in itk::Statistics::BatchSupervisedTrainingFunction< TSample, TOutput, ScalarType >, and itk::Statistics::IterativeSupervisedTrainingFunction< TSample, TOutput, ScalarType >.

template<class TSample, class TOutput, class ScalarType>
virtual void itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::SetIterations long  _arg  )  [virtual]
 

template<class TSample, class TOutput, class ScalarType>
void itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::SetLearningRate ValueType   ) 
 

template<class TSample, class TOutput, class ScalarType>
void itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::SetPerformanceFunction PerformanceFunctionType f  ) 
 

template<class TSample, class TOutput, class ScalarType>
void itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::SetTargetValues TOutput *  targets  ) 
 

template<class TSample, class TOutput, class ScalarType>
void itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::SetTrainingSamples TSample *  samples  ) 
 

template<class TSample, class TOutput, class ScalarType>
OutputVectorType itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::targetconverter typename TOutput::MeasurementVectorType  v  )  [inline]
 

Definition at line 85 of file itkTrainingFunctionBase.h.

References itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::OutputVectorType.

template<class TSample, class TOutput, class ScalarType>
virtual void itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::Train NetworkType ,
TSample *  ,
TOutput * 
[inline, virtual]
 

Reimplemented in itk::Statistics::BatchSupervisedTrainingFunction< TSample, TOutput, ScalarType >, and itk::Statistics::IterativeSupervisedTrainingFunction< TSample, TOutput, ScalarType >.

Definition at line 68 of file itkTrainingFunctionBase.h.

References itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::NetworkType.


Member Data Documentation

template<class TSample, class TOutput, class ScalarType>
InputSampleVectorType itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::m_InputSamples [protected]
 

Definition at line 105 of file itkTrainingFunctionBase.h.

template<class TSample, class TOutput, class ScalarType>
long itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::m_Iterations [protected]
 

Definition at line 107 of file itkTrainingFunctionBase.h.

template<class TSample, class TOutput, class ScalarType>
ValueType itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::m_LearningRate [protected]
 

Definition at line 108 of file itkTrainingFunctionBase.h.

template<class TSample, class TOutput, class ScalarType>
PerformanceFunctionType::Pointer itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::m_PerformanceFunction [protected]
 

Definition at line 109 of file itkTrainingFunctionBase.h.

template<class TSample, class TOutput, class ScalarType>
TOutput* itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::m_SampleTargets [protected]
 

Definition at line 104 of file itkTrainingFunctionBase.h.

template<class TSample, class TOutput, class ScalarType>
OutputSampleVectorType itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::m_Targets [protected]
 

Definition at line 106 of file itkTrainingFunctionBase.h.

template<class TSample, class TOutput, class ScalarType>
TSample* itk::Statistics::TrainingFunctionBase< TSample, TOutput, ScalarType >::m_TrainingSamples [protected]
 

Definition at line 103 of file itkTrainingFunctionBase.h.


The documentation for this class was generated from the following file:
Generated at Thu May 25 03:16:03 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000