OTB
9.0.0
Orfeo Toolbox
|
#include <otbSOMModel.h>
Public Types | |
typedef Superclass::ConfidenceListSampleType | ConfidenceListSampleType |
typedef Superclass::ConfidenceSampleType | ConfidenceSampleType |
typedef Superclass::ConfidenceValueType | ConfidenceValueType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputListSampleType | InputListSampleType |
typedef Superclass::InputSampleType | InputSampleType |
typedef Superclass::InputValueType | InputValueType |
typedef InputListSampleType::Pointer | ListSamplePointerType |
typedef SOMMap< itk::VariableLengthVector< TInputValue >, itk::Statistics::EuclideanDistanceMetric< itk::VariableLengthVector< TInputValue > >, MapDimension > | MapType |
typedef itk::SmartPointer< Self > | Pointer |
typedef Superclass::ProbaListSampleType | ProbaListSampleType |
typedef Superclass::ProbaSampleType | ProbaSampleType |
typedef SOMModel | Self |
typedef MapType::SizeType | SizeType |
typedef Functor::CzihoSOMLearningBehaviorFunctor | SOMLearningBehaviorFunctorType |
typedef Functor::CzihoSOMNeighborhoodBehaviorFunctor | SOMNeighborhoodBehaviorFunctorType |
typedef MapType::SpacingType | SpacingType |
typedef MachineLearningModel< itk::VariableLengthVector< TInputValue >, itk::VariableLengthVector< TInputValue > > | Superclass |
typedef Superclass::TargetListSampleType | TargetListSampleType |
typedef Superclass::TargetSampleType | TargetSampleType |
typedef Superclass::TargetValueType | TargetValueType |
Public Types inherited from otb::MachineLearningModel< itk::VariableLengthVector< TInputValue >, itk::VariableLengthVector< TInputValue > > | |
typedef MachineLearningModel | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef MLMSampleTraits< itk::VariableLengthVector< TInputValue > >::ValueType | InputValueType |
typedef MLMSampleTraits< itk::VariableLengthVector< TInputValue > >::SampleType | InputSampleType |
typedef itk::Statistics::ListSample< InputSampleType > | InputListSampleType |
typedef MLMTargetTraits< itk::VariableLengthVector< TInputValue > >::ValueType | TargetValueType |
typedef MLMTargetTraits< itk::VariableLengthVector< TInputValue > >::SampleType | TargetSampleType |
typedef itk::Statistics::ListSample< TargetSampleType > | TargetListSampleType |
typedef MLMTargetTraits< double >::ValueType | ConfidenceValueType |
typedef MLMTargetTraits< double >::SampleType | ConfidenceSampleType |
typedef itk::Statistics::ListSample< ConfidenceSampleType > | ConfidenceListSampleType |
typedef itk::VariableLengthVector< double > | ProbaSampleType |
typedef itk::Statistics::ListSample< ProbaSampleType > | ProbaListSampleType |
Static Public Member Functions | |
static Pointer | New () |
MapType::Pointer | m_SOMMap |
SizeType | m_MapSize {0,0} |
unsigned int | m_NumberOfIterations |
double | m_BetaInit |
double | m_BetaEnd |
SizeType | m_NeighborhoodSizeInit {0,0} |
InputValueType | m_MinWeight |
InputValueType | m_MaxWeight |
bool | m_RandomInit |
unsigned int | m_Seed |
SOMLearningBehaviorFunctorType | m_BetaFunctor |
SOMNeighborhoodBehaviorFunctorType | m_NeighborhoodSizeFunctor |
bool | m_WriteMap |
virtual void | SetNumberOfIterations (unsigned int _arg) |
virtual unsigned int | GetNumberOfIterations () |
virtual void | SetBetaInit (double _arg) |
virtual double | GetBetaInit () |
virtual void | SetWriteMap (bool _arg) |
virtual bool | GetWriteMap () |
virtual void | SetBetaEnd (double _arg) |
virtual double | GetBetaEnd () |
virtual void | SetMinWeight (InputValueType _arg) |
virtual InputValueType | GetMinWeight () |
virtual void | SetMaxWeight (InputValueType _arg) |
virtual InputValueType | GetMaxWeight () |
virtual void | SetMapSize (SizeType _arg) |
virtual SizeType | GetMapSize () |
virtual void | SetNeighborhoodSizeInit (SizeType _arg) |
virtual SizeType | GetNeighborhoodSizeInit () |
virtual void | SetRandomInit (bool _arg) |
virtual bool | GetRandomInit () |
virtual void | SetSeed (unsigned int _arg) |
virtual unsigned int | GetSeed () |
bool | CanReadFile (const std::string &filename) override |
bool | CanWriteFile (const std::string &filename) override |
void | Save (const std::string &filename, const std::string &name="") override |
void | Load (const std::string &filename, const std::string &name="") override |
void | Train () override |
SOMModel () | |
~SOMModel () override | |
virtual TargetSampleType | DoPredict (const InputSampleType &input, ConfidenceValueType *quality=nullptr, ProbaSampleType *proba=nullptr) const override |
Additional Inherited Members | |
Protected Member Functions inherited from otb::MachineLearningModel< itk::VariableLengthVector< TInputValue >, itk::VariableLengthVector< TInputValue > > | |
MachineLearningModel () | |
~MachineLearningModel () override=default | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
Protected Attributes inherited from otb::MachineLearningModel< itk::VariableLengthVector< TInputValue >, itk::VariableLengthVector< TInputValue > > | |
InputListSampleType::Pointer | m_InputListSample |
InputListSampleType::Pointer | m_ValidationListSample |
TargetListSampleType::Pointer | m_TargetListSample |
ConfidenceListSampleType::Pointer | m_ConfidenceListSample |
bool | m_RegressionMode |
bool | m_IsRegressionSupported |
bool | m_ConfidenceIndex |
bool | m_ProbaIndex |
bool | m_IsDoPredictBatchMultiThreaded |
unsigned int | m_Dimension |
MachineLearningModel for Self-Organizing Map
Definition at line 42 of file otbSOMModel.h.
typedef Superclass::ConfidenceListSampleType otb::SOMModel< TInputValue, MapDimension >::ConfidenceListSampleType |
Definition at line 61 of file otbSOMModel.h.
typedef Superclass::ConfidenceSampleType otb::SOMModel< TInputValue, MapDimension >::ConfidenceSampleType |
Definition at line 60 of file otbSOMModel.h.
typedef Superclass::ConfidenceValueType otb::SOMModel< TInputValue, MapDimension >::ConfidenceValueType |
Definition at line 59 of file otbSOMModel.h.
typedef itk::SmartPointer<const Self> otb::SOMModel< TInputValue, MapDimension >::ConstPointer |
Definition at line 48 of file otbSOMModel.h.
typedef Superclass::InputListSampleType otb::SOMModel< TInputValue, MapDimension >::InputListSampleType |
Definition at line 52 of file otbSOMModel.h.
typedef Superclass::InputSampleType otb::SOMModel< TInputValue, MapDimension >::InputSampleType |
Definition at line 51 of file otbSOMModel.h.
typedef Superclass::InputValueType otb::SOMModel< TInputValue, MapDimension >::InputValueType |
Definition at line 50 of file otbSOMModel.h.
typedef InputListSampleType::Pointer otb::SOMModel< TInputValue, MapDimension >::ListSamplePointerType |
Definition at line 53 of file otbSOMModel.h.
typedef SOMMap<itk::VariableLengthVector<TInputValue>, itk::Statistics::EuclideanDistanceMetric<itk::VariableLengthVector<TInputValue> >, MapDimension> otb::SOMModel< TInputValue, MapDimension >::MapType |
Definition at line 65 of file otbSOMModel.h.
typedef itk::SmartPointer<Self> otb::SOMModel< TInputValue, MapDimension >::Pointer |
Definition at line 47 of file otbSOMModel.h.
typedef Superclass::ProbaListSampleType otb::SOMModel< TInputValue, MapDimension >::ProbaListSampleType |
Definition at line 63 of file otbSOMModel.h.
typedef Superclass::ProbaSampleType otb::SOMModel< TInputValue, MapDimension >::ProbaSampleType |
Definition at line 62 of file otbSOMModel.h.
typedef SOMModel otb::SOMModel< TInputValue, MapDimension >::Self |
Definition at line 45 of file otbSOMModel.h.
typedef MapType::SizeType otb::SOMModel< TInputValue, MapDimension >::SizeType |
Definition at line 66 of file otbSOMModel.h.
typedef Functor::CzihoSOMLearningBehaviorFunctor otb::SOMModel< TInputValue, MapDimension >::SOMLearningBehaviorFunctorType |
Definition at line 69 of file otbSOMModel.h.
typedef Functor::CzihoSOMNeighborhoodBehaviorFunctor otb::SOMModel< TInputValue, MapDimension >::SOMNeighborhoodBehaviorFunctorType |
Definition at line 70 of file otbSOMModel.h.
typedef MapType::SpacingType otb::SOMModel< TInputValue, MapDimension >::SpacingType |
Definition at line 67 of file otbSOMModel.h.
typedef MachineLearningModel<itk::VariableLengthVector<TInputValue>, itk::VariableLengthVector<TInputValue> > otb::SOMModel< TInputValue, MapDimension >::Superclass |
Definition at line 46 of file otbSOMModel.h.
typedef Superclass::TargetListSampleType otb::SOMModel< TInputValue, MapDimension >::TargetListSampleType |
Definition at line 56 of file otbSOMModel.h.
typedef Superclass::TargetSampleType otb::SOMModel< TInputValue, MapDimension >::TargetSampleType |
Definition at line 55 of file otbSOMModel.h.
typedef Superclass::TargetValueType otb::SOMModel< TInputValue, MapDimension >::TargetValueType |
Definition at line 54 of file otbSOMModel.h.
|
protected |
Map size (width, height)
Definition at line 57 of file otbSOMModel.hxx.
|
overrideprotected |
Map size (width, height)
Definition at line 63 of file otbSOMModel.hxx.
|
overridevirtual |
Map size (width, height)
Definition at line 84 of file otbSOMModel.hxx.
|
overridevirtual |
Map size (width, height)
Definition at line 98 of file otbSOMModel.hxx.
virtual::itk::LightObject::Pointer otb::SOMModel< TInputValue, MapDimension >::CreateAnother | ( | void | ) | const |
|
overrideprivatevirtual |
Map size (width, height)
Definition at line 209 of file otbSOMModel.hxx.
|
virtual |
Map size (width, height)
|
virtual |
Map size (width, height)
|
virtual |
Map size (width, height)
|
virtual |
Map size (width, height)
|
virtual |
Map size (width, height)
|
virtual |
|
virtual |
Map size (width, height)
|
virtual |
Map size (width, height)
|
virtual |
Map size (width, height)
|
virtual |
Map size (width, height)
|
virtual |
Map size (width, height)
|
overridevirtual |
Load the model from file
Read the model key (should be som)
Read the dimension of the map (should be equal to MapDimension)
Definition at line 149 of file otbSOMModel.hxx.
References otb::internal::BinaryRead().
|
static |
|
overridevirtual |
Map size (width, height)
Definition at line 104 of file otbSOMModel.hxx.
References otb::internal::BinaryWrite(), and otb::internal::BinaryWriteString().
|
virtual |
Map size (width, height)
|
virtual |
Map size (width, height)
|
virtual |
Map size (width, height)
|
virtual |
Map size (width, height)
|
virtual |
Map size (width, height)
|
virtual |
Map size (width, height)
|
virtual |
Accessors
|
virtual |
Map size (width, height)
|
virtual |
Map size (width, height)
|
virtual |
Map size (width, height)
|
overridevirtual |
Map size (width, height)
Definition at line 68 of file otbSOMModel.hxx.
|
private |
Final learning coefficient
Definition at line 125 of file otbSOMModel.h.
|
private |
Behavior of the Learning weightening (link to the beta coefficient)
Definition at line 143 of file otbSOMModel.h.
|
private |
Initial learning coefficient
Definition at line 122 of file otbSOMModel.h.
|
private |
Map size (width, height)
Definition at line 116 of file otbSOMModel.h.
|
private |
Maximum initial neuron weights
Definition at line 134 of file otbSOMModel.h.
|
private |
Minimum initial neuron weights
Definition at line 131 of file otbSOMModel.h.
|
private |
Behavior of the Neighborhood extent
Definition at line 146 of file otbSOMModel.h.
|
private |
Initial neighborhood size
Definition at line 128 of file otbSOMModel.h.
|
private |
Number of iterations
Definition at line 119 of file otbSOMModel.h.
|
private |
Random initialization bool
Definition at line 137 of file otbSOMModel.h.
|
private |
Seed for random initialization
Definition at line 140 of file otbSOMModel.h.
|
private |
Map size (width, height)
Definition at line 111 of file otbSOMModel.h.
|
private |
Write the SOM Map vectors in a txt file
Definition at line 149 of file otbSOMModel.h.