18 #ifndef itkTwoHiddenLayerBackPropagationNeuralNetwork_h
19 #define itkTwoHiddenLayerBackPropagationNeuralNetwork_h
43 template<
typename TMeasurementVector,
typename TTargetVector>
78 itkSetMacro(NumOfInputNodes,
unsigned int);
79 itkGetConstReferenceMacro(NumOfInputNodes,
unsigned int);
81 itkSetMacro(NumOfFirstHiddenNodes,
unsigned int);
82 itkGetConstReferenceMacro(NumOfFirstHiddenNodes,
unsigned int);
84 itkSetMacro(NumOfSecondHiddenNodes,
unsigned int);
85 itkGetConstReferenceMacro(NumOfSecondHiddenNodes,
unsigned int);
87 #ifdef __USE_OLD_INTERFACE
95 itkSetMacro(NumOfOutputNodes,
unsigned int);
96 itkGetConstReferenceMacro(NumOfOutputNodes,
unsigned int);
98 itkSetMacro(FirstHiddenLayerBias,
ValueType);
99 itkGetConstReferenceMacro(FirstHiddenLayerBias,
ValueType);
101 itkSetMacro(SecondHiddenLayerBias,
ValueType);
102 itkGetConstReferenceMacro(SecondHiddenLayerBias,
ValueType);
105 itkGetConstReferenceMacro(OutputLayerBias,
ValueType);
121 virtual void PrintSelf( std::ostream& os,
Indent indent )
const ITK_OVERRIDE;
144 #ifndef ITK_MANUAL_INSTANTIATION
145 #include "itkTwoHiddenLayerBackPropagationNeuralNetwork.hxx"
ValueType m_FirstHiddenLayerBias
This is the itkTwoHiddenLayerBackPropagationNeuralNetwork class.
Superclass::TargetVectorType TargetVectorType
std::vector< typename LayerInterfaceType::WeightSetInterfaceType::Pointer > WeightVectorType
BackPropagationLayer< TMeasurementVector, TTargetVector > LearningLayerType
unsigned int m_NumOfOutputNodes
virtual const unsigned int & GetNumOfFirstHiddenNodes() const
void Initialize() override
Superclass::LayerInterfaceType LayerInterfaceType
Superclass::MeasurementVectorType MeasurementVectorType
InputFunctionBase< ValueType *, ValueType > InputFunctionInterfaceType
Superclass::TargetVectorType TargetVectorType
Superclass::MeasurementVectorType MeasurementVectorType
void SetSecondHiddenTransferFunction(TransferFunctionInterfaceType *f)
Superclass::LayerVectorType LayerVectorType
virtual void SetNumOfFirstHiddenNodes(unsigned int _arg)
TransferFunctionInterfaceType::Pointer m_FirstHiddenTransferFunction
void SetInputFunction(InputFunctionInterfaceType *f)
SmartPointer< Self > Pointer
Superclass::TransferFunctionInterfaceType TransferFunctionInterfaceType
virtual NetworkOutputType GenerateOutput(TMeasurementVector samplevector) override
MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, BackPropagationLayer< TMeasurementVector, TTargetVector > > Superclass
ValueType m_OutputLayerBias
Superclass::InputFunctionInterfaceType InputFunctionInterfaceType
std::vector< typename LayerInterfaceType::Pointer > LayerVectorType
Superclass::LearningLayerType LearningLayerType
Superclass::NetworkOutputType NetworkOutputType
Superclass::LayerInterfaceType LayerInterfaceType
virtual void PrintSelf(std::ostream &os, Indent indent) const override
TwoHiddenLayerBackPropagationNeuralNetwork()
InputFunctionInterfaceType::Pointer m_InputFunction
TransferFunctionInterfaceType::Pointer m_OutputTransferFunction
TransferFunctionInterfaceType::Pointer m_SecondHiddenTransferFunction
TwoHiddenLayerBackPropagationNeuralNetwork Self
Superclass::WeightVectorType WeightVectorType
MeasurementVectorType::ValueType ValueType
ValueType m_SecondHiddenLayerBias
void SetInputTransferFunction(TransferFunctionInterfaceType *f)
This is the itkMultilayerNeuralNetworkBase class.
TransferFunctionBase< ValueType > TransferFunctionInterfaceType
unsigned int m_NumOfInputNodes
virtual ~TwoHiddenLayerBackPropagationNeuralNetwork()
Superclass::NetworkOutputType NetworkOutputType
Superclass::ValueType ValueType
virtual const unsigned int & GetNumOfSecondHiddenNodes() const
void SetOutputTransferFunction(TransferFunctionInterfaceType *f)
unsigned int m_NumOfFirstHiddenNodes
Control indentation during Print() invocation.
SmartPointer< const Self > ConstPointer
virtual void SetNumOfSecondHiddenNodes(unsigned int _arg)
void SetFirstHiddenTransferFunction(TransferFunctionInterfaceType *f)
Base class for all data objects in ITK.
TransferFunctionInterfaceType::Pointer m_InputTransferFunction
unsigned int m_NumOfSecondHiddenNodes
Superclass::ValueType ValueType