|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
20 #ifndef otbTrainDimensionalityReductionApplicationBase_h
21 #define otbTrainDimensionalityReductionApplicationBase_h
23 #include "otbConfigure.h"
28 #include "itkListSample.h"
29 #include "itkVariableLengthVector.h"
69 template <
class TInputValue,
class TOutputValue>
101 void Train(
typename ListSampleType::Pointer trainingListSample, std::string modelPath);
104 void Reduce(
typename ListSampleType::Pointer validationListSample, std::string modelPath);
113 template <
class somchoice>
114 void TrainSOM(
typename ListSampleType::Pointer trainingListSample, std::string modelPath);
115 void BeforeTrainSOM(
typename ListSampleType::Pointer trainingListSample, std::string modelPath);
118 void InitAutoencoderParams();
119 void InitPCAParams();
121 void BeforeTrainAutoencoder(
typename ListSampleType::Pointer trainingListSample, std::string modelPath);
122 template <
class autoencoderchoice>
123 void TrainAutoencoder(
typename ListSampleType::Pointer trainingListSample, std::string modelPath);
125 void TrainPCA(
typename ListSampleType::Pointer trainingListSample, std::string modelPath);
132 #ifndef OTB_MANUAL_INSTANTIATION
ModelType::InputListSampleType ListSampleType
ModelFactoryType::DimensionalityReductionModelType ModelType
This class represent an application TODO.
void Reduce(typename ListSampleType::Pointer validationListSample, std::string modelPath)
DimensionalityReductionModelType::Pointer DimensionalityReductionModelTypePointer
void Train(typename ListSampleType::Pointer trainingListSample, std::string modelPath)
itk::SmartPointer< const Self > ConstPointer
itk::Statistics::ListSample< InputSampleType > InputListSampleType
void BeforeTrainSOM(typename ListSampleType::Pointer trainingListSample, std::string modelPath)
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
TrainDimensionalityReductionApplicationBase()
TrainDimensionalityReductionApplicationBase Self
ModelFactoryType::DimensionalityReductionModelTypePointer ModelPointerType
itk::SmartPointer< Self > Pointer
ModelType::InputSampleType SampleType
SampleImageType::PixelType PixelType
otb::DimensionalityReductionModelFactory< InputValueType, OutputValueType > ModelFactoryType
MachineLearningModel is the base class for all classifier objects (SVM, KNN, Random Forests,...
Superclass::PixelType PixelType
otb::VectorImage< InputValueType > SampleImageType
TInputValue InputValueType
void TrainSOM(typename ListSampleType::Pointer trainingListSample, std::string modelPath)
MLMSampleTraits< TInputValue >::SampleType InputSampleType
~TrainDimensionalityReductionApplicationBase() override
TOutputValue OutputValueType
Creation of an "otb" vector image which contains metadata.