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
101 itkGetConstReferenceMacro(OutputLayerBias,
ValueType);
107 #ifdef __USE_OLD_INTERFACE
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
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
TransferFunctionInterfaceType::Pointer m_OutputTransferFunction
ValueType m_OutputLayerBias
Superclass::TargetVectorType TargetVectorType
std::vector< typename LayerInterfaceType::Pointer > LayerVectorType
ValueType m_FirstHiddenLayerBias
virtual void PrintSelf(std::ostream &os, Indent indent) const
Superclass::LayerVectorType LayerVectorType
virtual NetworkOutputType GenerateOutput(TMeasurementVector samplevector)
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
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