21 #ifndef otbSVMCrossValidationCostFunction_h
22 #define otbSVMCrossValidationCostFunction_h
24 #include "itkSingleValuedCostFunction.h"
52 template <
class TModel>
86 MeasureType GetValue(
const ParametersType& parameters)
const override;
92 unsigned int GetNumberOfParameters(
void)
const override;
118 #ifndef OTB_MANUAL_INSTANTIATION
This function returns the cross validation accuracy of a SVM model.
Superclass::MeasureType MeasurementType
Superclass::ParametersType ParametersType
itk::SingleValuedCostFunction Superclass
ParametersValueType m_DerivativeStep
Superclass::DerivativeType DerivativeType
itk::SmartPointer< Self > Pointer
itk::SmartPointer< const Self > ConstPointer
void operator=(const Self &)=delete
SVMCrossValidationCostFunction Self
Superclass::ParametersValueType ParametersValueType
itkGetObjectMacro(Model, SVMModelType)
SVMCrossValidationCostFunction(const Self &)=delete
SVMModelType::Pointer SVMModelPointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.