ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkTrainingFunctionBase.h>
This is the itkTrainingFunctionBase class.
Definition at line 37 of file itkTrainingFunctionBase.h.
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
VectorType | defaultconverter (typename TSample::MeasurementVectorType v) |
virtual const SizeValueType & | GetIterations () const |
ValueType | GetLearningRate () |
virtual const char * | GetNameOfClass () const |
virtual void | SetIterations (SizeValueType _arg) |
void | SetLearningRate (ValueType) |
void | SetPerformanceFunction (PerformanceFunctionType *f) |
void | SetTargetValues (TTargetVector *targets) |
void | SetTrainingSamples (TSample *samples) |
OutputVectorType | targetconverter (typename TTargetVector::MeasurementVectorType v) |
virtual void | Train (NetworkType *, TSample *, TTargetVector *) |
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 |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () 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 | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const override |
TrainingFunctionBase () | |
~TrainingFunctionBase () 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 | |
InputSampleVectorType | m_InputSamples |
SizeValueType | m_Iterations |
ValueType | m_LearningRate |
PerformanceFunctionType::Pointer | m_PerformanceFunction |
TTargetVector * | m_SampleTargets |
OutputSampleVectorType | m_Targets |
TSample * | m_TrainingSamples |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer<const Self> itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::ConstPointer |
Definition at line 43 of file itkTrainingFunctionBase.h.
typedef SquaredDifferenceErrorFunction<InternalVectorType, ScalarType> itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::DefaultPerformanceType |
Definition at line 61 of file itkTrainingFunctionBase.h.
typedef std::vector<VectorType> itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::InputSampleVectorType |
Definition at line 56 of file itkTrainingFunctionBase.h.
typedef Array<ValueType> itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::InternalVectorType |
Definition at line 54 of file itkTrainingFunctionBase.h.
typedef NeuralNetworkObject<VectorType, OutputVectorType> itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::NetworkType |
Definition at line 58 of file itkTrainingFunctionBase.h.
typedef std::vector<OutputVectorType> itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::OutputSampleVectorType |
Definition at line 57 of file itkTrainingFunctionBase.h.
typedef TTargetVector::MeasurementVectorType itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::OutputVectorType |
Definition at line 53 of file itkTrainingFunctionBase.h.
typedef ErrorFunctionBase<InternalVectorType, ScalarType> itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::PerformanceFunctionType |
Definition at line 59 of file itkTrainingFunctionBase.h.
typedef SmartPointer<Self> itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::Pointer |
Definition at line 42 of file itkTrainingFunctionBase.h.
typedef TrainingFunctionBase itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::Self |
Definition at line 40 of file itkTrainingFunctionBase.h.
typedef LightProcessObject itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::Superclass |
Definition at line 41 of file itkTrainingFunctionBase.h.
typedef ScalarType itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::ValueType |
Definition at line 49 of file itkTrainingFunctionBase.h.
typedef TSample::MeasurementVectorType itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::VectorType |
Definition at line 52 of file itkTrainingFunctionBase.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 105 of file itkTrainingFunctionBase.h.
|
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.
|
inline |
Definition at line 80 of file itkTrainingFunctionBase.h.
|
virtual |
ValueType itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::GetLearningRate | ( | ) |
|
virtual |
Method for creation through the object factory.
Reimplemented from itk::LightProcessObject.
Reimplemented in itk::Statistics::BatchSupervisedTrainingFunction< TSample, TTargetVector, ScalarType >, and itk::Statistics::IterativeSupervisedTrainingFunction< TSample, TTargetVector, ScalarType >.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Method to print the object.
Reimplemented from itk::LightProcessObject.
Reimplemented in itk::Statistics::BatchSupervisedTrainingFunction< TSample, TTargetVector, ScalarType >, and itk::Statistics::IterativeSupervisedTrainingFunction< TSample, TTargetVector, ScalarType >.
|
virtual |
void itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::SetLearningRate | ( | ValueType | ) |
void itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::SetPerformanceFunction | ( | PerformanceFunctionType * | f | ) |
void itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::SetTargetValues | ( | TTargetVector * | targets | ) |
void itk::Statistics::TrainingFunctionBase< TSample, TTargetVector, ScalarType >::SetTrainingSamples | ( | TSample * | samples | ) |
|
inline |
Definition at line 91 of file itkTrainingFunctionBase.h.
|
inlinevirtual |
Definition at line 74 of file itkTrainingFunctionBase.h.
|
protected |
Definition at line 112 of file itkTrainingFunctionBase.h.
|
protected |
Definition at line 114 of file itkTrainingFunctionBase.h.
|
protected |
Definition at line 115 of file itkTrainingFunctionBase.h.
|
protected |
Definition at line 117 of file itkTrainingFunctionBase.h.
|
protected |
Definition at line 111 of file itkTrainingFunctionBase.h.
|
protected |
Definition at line 113 of file itkTrainingFunctionBase.h.
|
protected |
Definition at line 110 of file itkTrainingFunctionBase.h.