ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkMultilayerNeuralNetworkBase.h>
This is the itkMultilayerNeuralNetworkBase class.
Definition at line 34 of file itkMultilayerNeuralNetworkBase.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputFunctionBase < ValueType *, ValueType > | InputFunctionInterfaceType |
typedef Superclass::LayerInterfaceType | LayerInterfaceType |
typedef std::vector< typename LayerInterfaceType::Pointer > | LayerVectorType |
typedef LearningFunctionBase < typename TLearningLayer::LayerInterfaceType, TTargetVector > | LearningFunctionInterfaceType |
typedef TLearningLayer | LearningLayerType |
typedef Superclass::MeasurementVectorType | MeasurementVectorType |
typedef Superclass::NetworkOutputType | NetworkOutputType |
typedef SmartPointer< Self > | Pointer |
typedef MultilayerNeuralNetworkBase | Self |
typedef NeuralNetworkObject < TMeasurementVector, TTargetVector > | Superclass |
typedef Superclass::TargetVectorType | TargetVectorType |
typedef TransferFunctionBase < ValueType > | TransferFunctionInterfaceType |
typedef Superclass::ValueType | ValueType |
typedef std::vector< typename LayerInterfaceType::WeightSetInterfaceType::Pointer > | WeightVectorType |
Public Types inherited from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef LayerBase < TMeasurementVector, TTargetVector > | LayerInterfaceType |
typedef TMeasurementVector | MeasurementVectorType |
typedef Array< ValueType > | NetworkOutputType |
typedef SmartPointer< Self > | Pointer |
typedef NeuralNetworkObject | Self |
typedef DataObject | Superclass |
typedef TTargetVector | TargetVectorType |
typedef MeasurementVectorType::ValueType | ValueType |
Public Types inherited from itk::DataObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef std::string | DataObjectIdentifierType |
typedef std::vector< Pointer > ::size_type | DataObjectPointerArraySizeType |
typedef SmartPointer< Self > | Pointer |
typedef DataObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Public Member Functions | |
void | AddLayer (LayerInterfaceType *) |
void | AddWeightSet (typename LayerInterfaceType::WeightSetInterfaceType *) |
virtual void | BackwardPropagate (NetworkOutputType errors) override |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual NetworkOutputType | GenerateOutput (TMeasurementVector samplevector) override |
LayerInterfaceType * | GetLayer (int layer_id) |
const LayerInterfaceType * | GetLayer (int layer_id) const |
virtual const char * | GetNameOfClass () const |
int | GetNumOfLayers (void) const |
int | GetNumOfWeightSets (void) const |
LayerInterfaceType::WeightSetInterfaceType * | GetWeightSet (unsigned int id) |
void | InitializeWeights () |
void | SetLearningFunction (LearningFunctionInterfaceType *f) |
void | SetLearningRate (ValueType learningrate) |
void | SetLearningRule (LearningFunctionInterfaceType *) |
virtual void | UpdateWeights (ValueType) override |
Public Member Functions inherited from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector > | |
virtual void | BackwardPropagate (NetworkOutputType errors)=0 |
Public Member Functions inherited from itk::DataObject | |
virtual void | CopyInformation (const DataObject *) |
virtual void | DataHasBeenGenerated () |
void | DisconnectPipeline () |
bool | GetDataReleased () const |
virtual const bool & | GetReleaseDataFlag () const |
SmartPointerForwardReference < ProcessObject > | GetSource () const |
DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
const DataObjectIdentifierType & | GetSourceOutputName () const |
virtual ModifiedTimeType | GetUpdateMTime () const |
virtual void | Graft (const DataObject *) |
virtual void | Initialize () |
virtual void | PrepareForNewData () |
virtual void | PropagateRequestedRegion () |
void | ReleaseData () |
virtual void | ReleaseDataFlagOff () |
virtual void | ReleaseDataFlagOn () |
virtual bool | RequestedRegionIsOutsideOfTheBufferedRegion () |
virtual void | ResetPipeline () |
void | SetReleaseDataFlag (bool flag) |
virtual void | SetRequestedRegion (const DataObject *) |
virtual void | SetRequestedRegionToLargestPossibleRegion () |
bool | ShouldIReleaseData () const |
virtual void | Update () |
virtual void | UpdateOutputData () |
virtual void | UpdateOutputInformation () |
virtual bool | VerifyRequestedRegion () |
void | SetPipelineMTime (ModifiedTimeType time) |
virtual const ModifiedTimeType & | GetPipelineMTime () const |
virtual void | SetRealTimeStamp (RealTimeStamp _arg) |
virtual const RealTimeStamp & | GetRealTimeStamp () 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::DataObject | |
static bool | GetGlobalReleaseDataFlag () |
static void | GlobalReleaseDataFlagOff () |
static void | GlobalReleaseDataFlagOn () |
static void | SetGlobalReleaseDataFlag (bool val) |
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 | |
MultilayerNeuralNetworkBase () | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const override |
~MultilayerNeuralNetworkBase () | |
Protected Member Functions inherited from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector > | |
NeuralNetworkObject () | |
virtual | ~NeuralNetworkObject () |
Protected Member Functions inherited from itk::DataObject | |
DataObject () | |
virtual void | PropagateResetPipeline () |
~DataObject () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
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 | |
LayerVectorType | m_Layers |
LearningFunctionInterfaceType::Pointer | m_LearningFunction |
ValueType | m_LearningRate |
WeightVectorType | m_Weights |
Protected Attributes inherited from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector > | |
ValueType | m_LearningRate |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer<const Self> itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::ConstPointer |
Definition at line 42 of file itkMultilayerNeuralNetworkBase.h.
typedef InputFunctionBase<ValueType*, ValueType> itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::InputFunctionInterfaceType |
Definition at line 66 of file itkMultilayerNeuralNetworkBase.h.
typedef Superclass::LayerInterfaceType itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::LayerInterfaceType |
Definition at line 54 of file itkMultilayerNeuralNetworkBase.h.
typedef std::vector<typename LayerInterfaceType::Pointer> itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::LayerVectorType |
Definition at line 63 of file itkMultilayerNeuralNetworkBase.h.
typedef LearningFunctionBase<typename TLearningLayer::LayerInterfaceType, TTargetVector> itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::LearningFunctionInterfaceType |
Definition at line 58 of file itkMultilayerNeuralNetworkBase.h.
typedef TLearningLayer itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::LearningLayerType |
Definition at line 56 of file itkMultilayerNeuralNetworkBase.h.
typedef Superclass::MeasurementVectorType itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::MeasurementVectorType |
Definition at line 50 of file itkMultilayerNeuralNetworkBase.h.
typedef Superclass::NetworkOutputType itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::NetworkOutputType |
Definition at line 52 of file itkMultilayerNeuralNetworkBase.h.
typedef SmartPointer<Self> itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::Pointer |
Definition at line 41 of file itkMultilayerNeuralNetworkBase.h.
typedef MultilayerNeuralNetworkBase itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::Self |
Definition at line 38 of file itkMultilayerNeuralNetworkBase.h.
typedef NeuralNetworkObject<TMeasurementVector, TTargetVector> itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::Superclass |
Definition at line 40 of file itkMultilayerNeuralNetworkBase.h.
typedef Superclass::TargetVectorType itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::TargetVectorType |
Definition at line 51 of file itkMultilayerNeuralNetworkBase.h.
typedef TransferFunctionBase<ValueType> itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::TransferFunctionInterfaceType |
Definition at line 65 of file itkMultilayerNeuralNetworkBase.h.
typedef Superclass::ValueType itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::ValueType |
Definition at line 47 of file itkMultilayerNeuralNetworkBase.h.
typedef std::vector<typename LayerInterfaceType::WeightSetInterfaceType::Pointer> itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::WeightVectorType |
Definition at line 61 of file itkMultilayerNeuralNetworkBase.h.
|
protected |
|
protected |
void itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::AddLayer | ( | LayerInterfaceType * | ) |
void itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::AddWeightSet | ( | typename LayerInterfaceType::WeightSetInterfaceType * | ) |
|
overridevirtual |
|
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::Object.
|
overridevirtual |
Implements itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector >.
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
LayerInterfaceType* itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::GetLayer | ( | int | layer_id | ) |
const LayerInterfaceType* itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::GetLayer | ( | int | layer_id | ) | const |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector >.
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
|
inline |
Definition at line 76 of file itkMultilayerNeuralNetworkBase.h.
|
inline |
Definition at line 80 of file itkMultilayerNeuralNetworkBase.h.
|
inline |
Definition at line 92 of file itkMultilayerNeuralNetworkBase.h.
void itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::InitializeWeights | ( | ) |
|
static |
New macro for creation of through a Smart Pointer.
|
overrideprotectedvirtual |
Method to print the object.
Reimplemented from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector >.
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
void itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::SetLearningFunction | ( | LearningFunctionInterfaceType * | f | ) |
void itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::SetLearningRate | ( | ValueType | learningrate | ) |
void itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::SetLearningRule | ( | LearningFunctionInterfaceType * | ) |
|
overridevirtual |
|
protected |
|
protected |
Definition at line 119 of file itkMultilayerNeuralNetworkBase.h.
|
protected |
Definition at line 120 of file itkMultilayerNeuralNetworkBase.h.
|
protected |
Definition at line 118 of file itkMultilayerNeuralNetworkBase.h.
Referenced by itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, BackPropagationLayer< TMeasurementVector, TTargetVector > >::GetNumOfWeightSets(), and itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, BackPropagationLayer< TMeasurementVector, TTargetVector > >::GetWeightSet().