![]() |
OTB
9.1.1
Orfeo Toolbox
|
#include <otbPCAModel.h>
Inheritance diagram for otb::PCAModel< TInputValue >:
Collaboration diagram for otb::PCAModel< TInputValue >: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 itk::SmartPointer< Self > | Pointer |
| typedef Superclass::ProbaListSampleType | ProbaListSampleType |
| typedef Superclass::ProbaSampleType | ProbaSampleType |
| typedef PCAModel | Self |
| 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 |
Public Member Functions | |
| bool | CanReadFile (const std::string &filename) override |
| bool | CanWriteFile (const std::string &filename) override |
| virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
| virtual const char * | GetNameOfClass () const |
| virtual bool | GetWriteEigenvectors () |
| void | Load (const std::string &filename, const std::string &name="") override |
| void | Save (const std::string &filename, const std::string &name="") override |
| virtual void | SetDoResizeFlag (bool _arg) |
| virtual void | SetWriteEigenvectors (bool _arg) |
| void | Train () override |
Public Member Functions inherited from otb::MachineLearningModel< itk::VariableLengthVector< TInputValue >, itk::VariableLengthVector< TInputValue > > | |
| virtual const char * | GetNameOfClass () const |
| TargetSampleType | Predict (const InputSampleType &input, ConfidenceValueType *quality=nullptr, ProbaSampleType *proba=nullptr) const |
| virtual void | SetDimension (unsigned int _arg) |
| virtual unsigned int | GetDimension () |
| TargetListSampleType::Pointer | PredictBatch (const InputListSampleType *input, ConfidenceListSampleType *quality=nullptr, ProbaListSampleType *proba=nullptr) const |
| bool | HasConfidenceIndex () const |
| bool | HasProbaIndex () const |
| virtual void | SetInputListSample (InputListSampleType *_arg) |
| itkGetObjectMacro (InputListSample, InputListSampleType) | |
| virtual const InputListSampleType * | GetInputListSample () const |
| itkGetObjectMacro (TargetListSample, TargetListSampleType) | |
| itkGetObjectMacro (ConfidenceListSample, ConfidenceListSampleType) | |
| virtual void | SetTargetListSample (TargetListSampleType *_arg) |
| virtual bool | GetRegressionMode () |
| void | SetRegressionMode (bool flag) |
Static Public Member Functions | |
| static Pointer | New () |
Protected Member Functions | |
| virtual TargetSampleType | DoPredict (const InputSampleType &input, ConfidenceValueType *quality=nullptr, ProbaSampleType *proba=nullptr) const override |
| virtual void | DoPredictBatch (const InputListSampleType *, const unsigned int &startIndex, const unsigned int &size, TargetListSampleType *, ConfidenceListSampleType *quality=nullptr, ProbaListSampleType *proba=nullptr) const override |
| PCAModel () | |
| ~PCAModel () override | |
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 |
Private Attributes | |
| shark::LinearModel | m_Decoder |
| bool | m_DoResizeFlag |
| shark::LinearModel | m_Encoder |
| shark::PCA | m_PCA |
| bool | m_WriteEigenvectors |
Additional Inherited Members | |
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 |
This class wraps a PCA model implemented by Shark, in a otb::MachineLearningModel
Definition at line 73 of file otbPCAModel.h.
| typedef Superclass::ConfidenceListSampleType otb::PCAModel< TInputValue >::ConfidenceListSampleType |
Definition at line 92 of file otbPCAModel.h.
| typedef Superclass::ConfidenceSampleType otb::PCAModel< TInputValue >::ConfidenceSampleType |
Definition at line 91 of file otbPCAModel.h.
| typedef Superclass::ConfidenceValueType otb::PCAModel< TInputValue >::ConfidenceValueType |
Definition at line 90 of file otbPCAModel.h.
| typedef itk::SmartPointer<const Self> otb::PCAModel< TInputValue >::ConstPointer |
Definition at line 79 of file otbPCAModel.h.
| typedef Superclass::InputListSampleType otb::PCAModel< TInputValue >::InputListSampleType |
Definition at line 83 of file otbPCAModel.h.
| typedef Superclass::InputSampleType otb::PCAModel< TInputValue >::InputSampleType |
Definition at line 82 of file otbPCAModel.h.
| typedef Superclass::InputValueType otb::PCAModel< TInputValue >::InputValueType |
Definition at line 81 of file otbPCAModel.h.
| typedef InputListSampleType::Pointer otb::PCAModel< TInputValue >::ListSamplePointerType |
Definition at line 84 of file otbPCAModel.h.
| typedef itk::SmartPointer<Self> otb::PCAModel< TInputValue >::Pointer |
Definition at line 78 of file otbPCAModel.h.
| typedef Superclass::ProbaListSampleType otb::PCAModel< TInputValue >::ProbaListSampleType |
Definition at line 95 of file otbPCAModel.h.
| typedef Superclass::ProbaSampleType otb::PCAModel< TInputValue >::ProbaSampleType |
Definition at line 94 of file otbPCAModel.h.
| typedef PCAModel otb::PCAModel< TInputValue >::Self |
Definition at line 76 of file otbPCAModel.h.
| typedef MachineLearningModel<itk::VariableLengthVector<TInputValue>, itk::VariableLengthVector<TInputValue> > otb::PCAModel< TInputValue >::Superclass |
Definition at line 77 of file otbPCAModel.h.
| typedef Superclass::TargetListSampleType otb::PCAModel< TInputValue >::TargetListSampleType |
Definition at line 87 of file otbPCAModel.h.
| typedef Superclass::TargetSampleType otb::PCAModel< TInputValue >::TargetSampleType |
Definition at line 86 of file otbPCAModel.h.
| typedef Superclass::TargetValueType otb::PCAModel< TInputValue >::TargetValueType |
Definition at line 85 of file otbPCAModel.h.
|
protected |
Definition at line 53 of file otbPCAModel.hxx.
|
overrideprotected |
Definition at line 60 of file otbPCAModel.hxx.
|
overridevirtual |
Is the input model file readable and compatible with the corresponding classifier ?
Definition at line 78 of file otbPCAModel.hxx.
|
overridevirtual |
Is the input model file writable and compatible with the corresponding classifier ?
Definition at line 93 of file otbPCAModel.hxx.
| virtual::itk::LightObject::Pointer otb::PCAModel< TInputValue >::CreateAnother | ( | void | ) | const |
|
overrideprotectedvirtual |
Definition at line 151 of file otbPCAModel.hxx.
|
overrideprotectedvirtual |
Definition at line 177 of file otbPCAModel.hxx.
|
virtual |
|
virtual |
|
overridevirtual |
Load the model from file
Definition at line 125 of file otbPCAModel.hxx.
|
static |
|
overridevirtual |
Save the model to file
Definition at line 99 of file otbPCAModel.hxx.
|
virtual |
|
virtual |
|
overridevirtual |
Train the machine learning model
Definition at line 65 of file otbPCAModel.hxx.
|
private |
Definition at line 124 of file otbPCAModel.h.
|
private |
Definition at line 126 of file otbPCAModel.h.
|
private |
Definition at line 123 of file otbPCAModel.h.
|
private |
Definition at line 125 of file otbPCAModel.h.
|
private |
Definition at line 127 of file otbPCAModel.h.
1.8.17