|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbNormalBayesMachineLearningModel_h
22 #define otbNormalBayesMachineLearningModel_h
26 #include "itkLightObject.h"
27 #include "itkFixedArray.h"
34 template <
class TInputValue,
class TTargetValue>
58 void Train()
override;
61 void Save(
const std::string& filename,
const std::string& name =
"")
override;
64 void Load(
const std::string& filename,
const std::string& name =
"")
override;
70 bool CanReadFile(
const std::string&)
override;
73 bool CanWriteFile(
const std::string&)
override;
87 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
91 void operator=(
const Self&) =
delete;
96 #ifndef OTB_MANUAL_INSTANTIATION
itk::Statistics::ListSample< TargetSampleType > TargetListSampleType
itk::SmartPointer< Self > Pointer
itk::Statistics::ListSample< InputSampleType > InputListSampleType
NormalBayesMachineLearningModel Self
MLMSampleTraits< TInputValue >::ValueType InputValueType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
itk::SmartPointer< const Self > ConstPointer
cv::Ptr< cv::ml::NormalBayesClassifier > m_NormalBayesModel
Superclass::InputListSampleType InputListSampleType
MachineLearningModel< TInputValue, TTargetValue > Superclass
Superclass::InputValueType InputValueType
Superclass::ConfidenceValueType ConfidenceValueType
MachineLearningModel is the base class for all classifier objects (SVM, KNN, Random Forests,...
Superclass::ProbaSampleType ProbaSampleType
MLMTargetTraits< TTargetValue >::ValueType TargetValueType
Superclass::TargetValueType TargetValueType
Superclass::InputSampleType InputSampleType
Superclass::TargetListSampleType TargetListSampleType
MLMTargetTraits< TTargetValue >::SampleType TargetSampleType
Superclass::TargetSampleType TargetSampleType