|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbBoostMachineLearningModel_h
22 #define otbBoostMachineLearningModel_h
26 #include "itkLightObject.h"
27 #include "itkFixedArray.h"
34 template <
class TInputValue,
class TTargetValue>
62 itkGetMacro(BoostType,
int);
63 itkSetMacro(BoostType,
int);
70 itkGetMacro(WeakCount,
int);
71 itkSetMacro(WeakCount,
int);
81 itkGetMacro(WeightTrimRate,
double);
82 itkSetMacro(WeightTrimRate,
double);
89 itkGetMacro(MaxDepth,
int);
90 itkSetMacro(MaxDepth,
int);
94 void Train()
override;
97 void Save(
const std::string& filename,
const std::string& name =
"")
override;
100 void Load(
const std::string& filename,
const std::string& name =
"")
override;
106 bool CanReadFile(
const std::string&)
override;
109 bool CanWriteFile(
const std::string&)
override;
123 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
127 void operator=(
const Self&) =
delete;
138 #ifndef OTB_MANUAL_INSTANTIATION
itk::Statistics::ListSample< TargetSampleType > TargetListSampleType
Superclass::ConfidenceValueType ConfidenceValueType
itk::Statistics::ListSample< InputSampleType > InputListSampleType
MLMSampleTraits< TInputValue >::ValueType InputValueType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Superclass::InputListSampleType InputListSampleType
Superclass::InputValueType InputValueType
BoostMachineLearningModel Self
itk::SmartPointer< const Self > ConstPointer
Superclass::InputSampleType InputSampleType
Superclass::TargetValueType TargetValueType
MachineLearningModel< TInputValue, TTargetValue > Superclass
MachineLearningModel is the base class for all classifier objects (SVM, KNN, Random Forests,...
Superclass::TargetListSampleType TargetListSampleType
cv::Ptr< cv::ml::Boost > m_BoostModel
MLMTargetTraits< TTargetValue >::ValueType TargetValueType
itk::SmartPointer< Self > Pointer
Superclass::ProbaSampleType ProbaSampleType
Superclass::TargetSampleType TargetSampleType
MLMTargetTraits< TTargetValue >::SampleType TargetSampleType