18 #ifndef itkOneHiddenLayerBackPropagationNeuralNetwork_h
19 #define itkOneHiddenLayerBackPropagationNeuralNetwork_h
43 template<
typename TMeasurementVector,
typename TTargetVector>
80 itkSetMacro(NumOfInputNodes,
unsigned int);
81 itkGetConstReferenceMacro(NumOfInputNodes,
unsigned int);
83 itkSetMacro(NumOfFirstHiddenNodes,
unsigned int);
84 itkGetConstReferenceMacro(NumOfFirstHiddenNodes,
unsigned int);
86 itkSetMacro(NumOfOutputNodes,
unsigned int);
87 itkGetConstReferenceMacro(NumOfOutputNodes,
unsigned int);
89 itkSetMacro(FirstHiddenLayerBias,
ValueType);
90 itkGetConstReferenceMacro(FirstHiddenLayerBias, ValueType);
93 #ifdef __USE_OLD_INTERFACE
100 itkSetMacro(OutputLayerBias, ValueType);
101 itkGetConstReferenceMacro(OutputLayerBias, ValueType);
107 #ifdef __USE_OLD_INTERFACE
120 virtual void PrintSelf( std::ostream& os,
Indent indent )
const ITK_OVERRIDE;
140 #ifndef ITK_MANUAL_INSTANTIATION
141 #include "itkOneHiddenLayerBackPropagationNeuralNetwork.hxx"
unsigned int m_NumOfFirstHiddenNodes
Superclass::MeasurementVectorType MeasurementVectorType
InputFunctionInterfaceType::Pointer m_InputFunction
MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, BackPropagationLayer< TMeasurementVector, TTargetVector > > Superclass
virtual NetworkOutputType GenerateOutput(TMeasurementVector samplevector) override
std::vector< typename LayerInterfaceType::WeightSetInterfaceType::Pointer > WeightVectorType
BackPropagationLayer< TMeasurementVector, TTargetVector > LearningLayerType
virtual const unsigned int & GetNumOfFirstHiddenNodes() const
Superclass::TransferFunctionInterfaceType TransferFunctionInterfaceType
unsigned int m_NumOfOutputNodes
virtual ~OneHiddenLayerBackPropagationNeuralNetwork()
virtual const ValueType & GetFirstHiddenLayerBias() const
void SetInputTransferFunction(TransferFunctionInterfaceType *f)
SmartPointer< Self > Pointer
OneHiddenLayerBackPropagationNeuralNetwork Self
Superclass::LayerInterfaceType LayerInterfaceType
void SetInputFunction(InputFunctionInterfaceType *f)
Superclass::MeasurementVectorType MeasurementVectorType
virtual void SetNumOfFirstHiddenNodes(unsigned int _arg)
InputFunctionBase< ValueType *, ValueType > InputFunctionInterfaceType
Superclass::TargetVectorType TargetVectorType
virtual void PrintSelf(std::ostream &os, Indent indent) const override
TransferFunctionInterfaceType::Pointer m_OutputTransferFunction
ValueType m_OutputLayerBias
Superclass::TargetVectorType TargetVectorType
std::vector< typename LayerInterfaceType::Pointer > LayerVectorType
ValueType m_FirstHiddenLayerBias
Superclass::LayerVectorType LayerVectorType
MeasurementVectorType::ValueType ValueType
void SetFirstHiddenTransferFunction(TransferFunctionInterfaceType *f)
This is the itkMultilayerNeuralNetworkBase class.
TransferFunctionBase< ValueType > TransferFunctionInterfaceType
void SetOutputTransferFunction(TransferFunctionInterfaceType *f)
Superclass::LayerInterfaceType LayerInterfaceType
Superclass::WeightVectorType WeightVectorType
void Initialize() override
Superclass::NetworkOutputType NetworkOutputType
Superclass::ValueType ValueType
virtual void SetFirstHiddenLayerBias(ValueType _arg)
Control indentation during Print() invocation.
This is the itkOneHiddenLayerBackPropagationNeuralNetwork class.
unsigned int m_NumOfInputNodes
SmartPointer< const Self > ConstPointer
Superclass::LearningLayerType LearningLayerType
OneHiddenLayerBackPropagationNeuralNetwork()
TransferFunctionInterfaceType::Pointer m_FirstHiddenTransferFunction
Base class for all data objects in ITK.
TransferFunctionInterfaceType::Pointer m_InputTransferFunction
Superclass::InputFunctionInterfaceType InputFunctionInterfaceType
Superclass::NetworkOutputType NetworkOutputType
Superclass::ValueType ValueType