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;
96 #ifndef OTB_MANUAL_INSTANTIATION
MachineLearningModel is the base class for all classifier objects (SVM, KNN, Random Forests,...
MLMTargetTraits< TConfidenceValue >::ValueType ConfidenceValueType
itk::VariableLengthVector< double > ProbaSampleType
MLMSampleTraits< TInputValue >::SampleType InputSampleType
MLMTargetTraits< TTargetValue >::SampleType TargetSampleType
~NormalBayesMachineLearningModel() override=default
Superclass::ConfidenceValueType ConfidenceValueType
Superclass::TargetValueType TargetValueType
cv::Ptr< cv::ml::NormalBayesClassifier > m_NormalBayesModel
Superclass::InputValueType InputValueType
Superclass::TargetListSampleType TargetListSampleType
MachineLearningModel< TInputValue, TTargetValue > Superclass
Superclass::InputSampleType InputSampleType
Superclass::TargetSampleType TargetSampleType
itk::SmartPointer< Self > Pointer
itk::SmartPointer< const Self > ConstPointer
Superclass::InputListSampleType InputListSampleType
Superclass::ProbaSampleType ProbaSampleType
NormalBayesMachineLearningModel Self
NormalBayesMachineLearningModel(const Self &)=delete
void operator=(const Self &)=delete
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.