25 #include "itkEuclideanDistanceMetric.h"
41 template <
class TInputValue,
unsigned int MapDimension>
73 itkTypeMacro(
SOMModel, DimensionalityReductionModel);
76 itkSetMacro(NumberOfIterations,
unsigned int);
77 itkGetMacro(NumberOfIterations,
unsigned int);
78 itkSetMacro(BetaInit,
double);
79 itkGetMacro(BetaInit,
double);
80 itkSetMacro(WriteMap,
bool);
81 itkGetMacro(WriteMap,
bool);
82 itkSetMacro(BetaEnd,
double);
83 itkGetMacro(BetaEnd,
double);
92 itkSetMacro(RandomInit,
bool);
93 itkGetMacro(RandomInit,
bool);
94 itkSetMacro(Seed,
unsigned int);
95 itkGetMacro(Seed,
unsigned int);
98 bool CanReadFile(
const std::string& filename)
override;
99 bool CanWriteFile(
const std::string& filename)
override;
101 void Save(
const std::string& filename,
const std::string& name =
"")
override;
102 void Load(
const std::string& filename,
const std::string& name =
"")
override;
104 void Train()
override;
154 #ifndef OTB_MANUAL_INSTANTIATION
Beta behavior over SOM training phase.
Neighborhood size behavior over SOM training phase.
MachineLearningModel is the base class for all classifier objects (SVM, KNN, Random Forests,...
MLMSampleTraits< TInputValue >::ValueType InputValueType
itk::Statistics::ListSample< ConfidenceSampleType > ConfidenceListSampleType
itk::Statistics::ListSample< ProbaSampleType > ProbaListSampleType
MLMTargetTraits< double >::SampleType ConfidenceSampleType
itk::Statistics::ListSample< TargetSampleType > TargetListSampleType
MLMTargetTraits< itk::VariableLengthVector< TInputValue > >::ValueType TargetValueType
itk::Statistics::ListSample< InputSampleType > InputListSampleType
MLMTargetTraits< TTargetValue >::SampleType TargetSampleType
This class represent a Self Organizing Map.
Superclass::SizeType SizeType
Superclass::SpacingType SpacingType
itk::SmartPointer< Self > Pointer
SOMNeighborhoodBehaviorFunctorType m_NeighborhoodSizeFunctor
InputListSampleType::Pointer ListSamplePointerType
Superclass::InputSampleType InputSampleType
MapType::SizeType SizeType
Superclass::TargetValueType TargetValueType
unsigned int m_NumberOfIterations
Superclass::ConfidenceListSampleType ConfidenceListSampleType
Superclass::TargetSampleType TargetSampleType
Superclass::ProbaSampleType ProbaSampleType
Superclass::ConfidenceValueType ConfidenceValueType
Functor::CzihoSOMNeighborhoodBehaviorFunctor SOMNeighborhoodBehaviorFunctorType
MapType::SpacingType SpacingType
Superclass::ProbaListSampleType ProbaListSampleType
Superclass::InputValueType InputValueType
Superclass::InputListSampleType InputListSampleType
MachineLearningModel< itk::VariableLengthVector< TInputValue >, itk::VariableLengthVector< TInputValue > > Superclass
itk::SmartPointer< const Self > ConstPointer
MapType::Pointer m_SOMMap
Superclass::TargetListSampleType TargetListSampleType
SOMLearningBehaviorFunctorType m_BetaFunctor
Functor::CzihoSOMLearningBehaviorFunctor SOMLearningBehaviorFunctorType
InputValueType m_MinWeight
SOMMap< itk::VariableLengthVector< TInputValue >, itk::Statistics::EuclideanDistanceMetric< itk::VariableLengthVector< TInputValue > >, MapDimension > MapType
Superclass::ConfidenceSampleType ConfidenceSampleType
itk::SmartPointer< Self > Pointer
InputValueType m_MaxWeight
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.