OTB
9.0.0
Orfeo Toolbox
|
#include <otbNormalBayesMachineLearningModel.h>
Public Types | |
typedef Superclass::ConfidenceValueType | ConfidenceValueType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputListSampleType | InputListSampleType |
typedef Superclass::InputSampleType | InputSampleType |
typedef Superclass::InputValueType | InputValueType |
typedef itk::SmartPointer< Self > | Pointer |
typedef Superclass::ProbaSampleType | ProbaSampleType |
typedef NormalBayesMachineLearningModel | Self |
typedef MachineLearningModel< TInputValue, TTargetValue > | Superclass |
typedef Superclass::TargetListSampleType | TargetListSampleType |
typedef Superclass::TargetSampleType | TargetSampleType |
typedef Superclass::TargetValueType | TargetValueType |
Public Types inherited from otb::MachineLearningModel< TInputValue, TTargetValue > | |
typedef MachineLearningModel | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef MLMSampleTraits< TInputValue >::ValueType | InputValueType |
typedef MLMSampleTraits< TInputValue >::SampleType | InputSampleType |
typedef itk::Statistics::ListSample< InputSampleType > | InputListSampleType |
typedef MLMTargetTraits< TTargetValue >::ValueType | TargetValueType |
typedef MLMTargetTraits< TTargetValue >::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 Pointer | New () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
void | Train () override |
void | Save (const std::string &filename, const std::string &name="") override |
void | Load (const std::string &filename, const std::string &name="") override |
Classification model file compatibility tests | |
cv::Ptr< cv::ml::NormalBayesClassifier > | m_NormalBayesModel |
bool | CanReadFile (const std::string &) override |
bool | CanWriteFile (const std::string &) override |
NormalBayesMachineLearningModel () | |
~NormalBayesMachineLearningModel () override=default | |
TargetSampleType | DoPredict (const InputSampleType &input, ConfidenceValueType *quality=nullptr, ProbaSampleType *proba=nullptr) const override |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
NormalBayesMachineLearningModel (const Self &)=delete | |
void | operator= (const Self &)=delete |
Definition at line 35 of file otbNormalBayesMachineLearningModel.h.
typedef Superclass::ConfidenceValueType otb::NormalBayesMachineLearningModel< TInputValue, TTargetValue >::ConfidenceValueType |
Definition at line 50 of file otbNormalBayesMachineLearningModel.h.
typedef itk::SmartPointer<const Self> otb::NormalBayesMachineLearningModel< TInputValue, TTargetValue >::ConstPointer |
Definition at line 42 of file otbNormalBayesMachineLearningModel.h.
typedef Superclass::InputListSampleType otb::NormalBayesMachineLearningModel< TInputValue, TTargetValue >::InputListSampleType |
Definition at line 46 of file otbNormalBayesMachineLearningModel.h.
typedef Superclass::InputSampleType otb::NormalBayesMachineLearningModel< TInputValue, TTargetValue >::InputSampleType |
Definition at line 45 of file otbNormalBayesMachineLearningModel.h.
typedef Superclass::InputValueType otb::NormalBayesMachineLearningModel< TInputValue, TTargetValue >::InputValueType |
Definition at line 44 of file otbNormalBayesMachineLearningModel.h.
typedef itk::SmartPointer<Self> otb::NormalBayesMachineLearningModel< TInputValue, TTargetValue >::Pointer |
Definition at line 41 of file otbNormalBayesMachineLearningModel.h.
typedef Superclass::ProbaSampleType otb::NormalBayesMachineLearningModel< TInputValue, TTargetValue >::ProbaSampleType |
Definition at line 51 of file otbNormalBayesMachineLearningModel.h.
typedef NormalBayesMachineLearningModel otb::NormalBayesMachineLearningModel< TInputValue, TTargetValue >::Self |
Standard class typedefs.
Definition at line 39 of file otbNormalBayesMachineLearningModel.h.
typedef MachineLearningModel<TInputValue, TTargetValue> otb::NormalBayesMachineLearningModel< TInputValue, TTargetValue >::Superclass |
Definition at line 40 of file otbNormalBayesMachineLearningModel.h.
typedef Superclass::TargetListSampleType otb::NormalBayesMachineLearningModel< TInputValue, TTargetValue >::TargetListSampleType |
Definition at line 49 of file otbNormalBayesMachineLearningModel.h.
typedef Superclass::TargetSampleType otb::NormalBayesMachineLearningModel< TInputValue, TTargetValue >::TargetSampleType |
Definition at line 48 of file otbNormalBayesMachineLearningModel.h.
typedef Superclass::TargetValueType otb::NormalBayesMachineLearningModel< TInputValue, TTargetValue >::TargetValueType |
Definition at line 47 of file otbNormalBayesMachineLearningModel.h.
|
protected |
Constructor
Definition at line 33 of file otbNormalBayesMachineLearningModel.hxx.
|
overrideprotecteddefault |
Destructor
|
privatedelete |
Is the input model file readable and compatible with the corresponding classifier ?
|
overridevirtual |
Is the input model file readable and compatible with the corresponding classifier ?
Implements otb::MachineLearningModel< TInputValue, TTargetValue >.
Definition at line 105 of file otbNormalBayesMachineLearningModel.hxx.
References CV_TYPE_NAME_ML_NBAYES.
|
overridevirtual |
Is the input model file writable and compatible with the corresponding classifier ?
Implements otb::MachineLearningModel< TInputValue, TTargetValue >.
Definition at line 131 of file otbNormalBayesMachineLearningModel.hxx.
virtual::itk::LightObject::Pointer otb::NormalBayesMachineLearningModel< TInputValue, TTargetValue >::CreateAnother | ( | void | ) | const |
Run-time type information (and related methods).
|
overrideprotected |
Predict values using the model
Definition at line 59 of file otbNormalBayesMachineLearningModel.hxx.
|
virtual |
Run-time type information (and related methods).
|
overridevirtual |
Load the model from file
Implements otb::MachineLearningModel< TInputValue, TTargetValue >.
Definition at line 98 of file otbNormalBayesMachineLearningModel.hxx.
|
static |
Run-time type information (and related methods).
|
privatedelete |
Is the input model file readable and compatible with the corresponding classifier ?
|
overrideprotected |
PrintSelf method
Definition at line 137 of file otbNormalBayesMachineLearningModel.hxx.
|
overridevirtual |
Save the model to file
Implements otb::MachineLearningModel< TInputValue, TTargetValue >.
Definition at line 88 of file otbNormalBayesMachineLearningModel.hxx.
|
overridevirtual |
Train the machine learning model
Implements otb::MachineLearningModel< TInputValue, TTargetValue >.
Definition at line 40 of file otbNormalBayesMachineLearningModel.hxx.
References CV_VAR_CATEGORICAL, and CV_VAR_NUMERICAL.
|
private |
Is the input model file readable and compatible with the corresponding classifier ?
Definition at line 92 of file otbNormalBayesMachineLearningModel.h.