21 #ifndef otbMachineLearningModelFactory_h
22 #define otbMachineLearningModelFactory_h
34 template <
class TInputValue,
class TOutputValue>
79 #ifndef OTB_MANUAL_INSTANTIATION
Base class for the MachinelearningModelFactory.
Creation of object instance using object factory.
itk::SmartPointer< Self > Pointer
itk::SmartPointer< const Self > ConstPointer
~MachineLearningModelFactory() override
MachineLearningModelFactory(const Self &)=delete
static void RegisterFactory(itk::ObjectFactoryBase *factory)
MachineLearningModelFactory()
static MachineLearningModelTypePointer CreateMachineLearningModel(const std::string &path, FileModeType mode)
otb::MachineLearningModel< TInputValue, TOutputValue > MachineLearningModelType
MachineLearningModelType::Pointer MachineLearningModelTypePointer
void operator=(const Self &)=delete
MachineLearningModelFactory Self
static void CleanFactories()
static void RegisterBuiltInFactories()
MachineLearningModel is the base class for all classifier objects (SVM, KNN, Random Forests,...
itk::SmartPointer< Self > Pointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.