123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- //
- // This file is auto-generated. Please don't modify it!
- //
- #pragma once
- #ifdef __cplusplus
- //#import "opencv.hpp"
- #import "opencv2/ml.hpp"
- #else
- #define CV_EXPORTS
- #endif
- #import <Foundation/Foundation.h>
- NS_ASSUME_NONNULL_BEGIN
- // C++: class ParamGrid
- /**
- * The structure represents the logarithmic grid range of statmodel parameters.
- *
- * It is used for optimizing statmodel accuracy by varying model parameters, the accuracy estimate
- * being computed by cross-validation.
- *
- * Member of `Ml`
- */
- CV_EXPORTS @interface ParamGrid : NSObject
- #ifdef __cplusplus
- @property(readonly)cv::Ptr<cv::ml::ParamGrid> nativePtr;
- #endif
- #ifdef __cplusplus
- - (instancetype)initWithNativePtr:(cv::Ptr<cv::ml::ParamGrid>)nativePtr;
- + (instancetype)fromNative:(cv::Ptr<cv::ml::ParamGrid>)nativePtr;
- #endif
- #pragma mark - Methods
- //
- // static Ptr_ParamGrid cv::ml::ParamGrid::create(double minVal = 0., double maxVal = 0., double logstep = 1.)
- //
- /**
- * Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method
- *
- * @param minVal minimum value of the parameter grid
- * @param maxVal maximum value of the parameter grid
- * @param logstep Logarithmic step for iterating the statmodel parameter
- */
- + (ParamGrid*)create:(double)minVal maxVal:(double)maxVal logstep:(double)logstep NS_SWIFT_NAME(create(minVal:maxVal:logstep:));
- /**
- * Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method
- *
- * @param minVal minimum value of the parameter grid
- * @param maxVal maximum value of the parameter grid
- */
- + (ParamGrid*)create:(double)minVal maxVal:(double)maxVal NS_SWIFT_NAME(create(minVal:maxVal:));
- /**
- * Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method
- *
- * @param minVal minimum value of the parameter grid
- */
- + (ParamGrid*)create:(double)minVal NS_SWIFT_NAME(create(minVal:));
- /**
- * Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method
- *
- */
- + (ParamGrid*)create NS_SWIFT_NAME(create());
- //
- // C++: double cv::ml::ParamGrid::minVal
- //
- @property double minVal;
- //
- // C++: double cv::ml::ParamGrid::maxVal
- //
- @property double maxVal;
- //
- // C++: double cv::ml::ParamGrid::logStep
- //
- @property double logStep;
- @end
- NS_ASSUME_NONNULL_END
|