ParamGrid
Objective-C
@interface ParamGrid : NSObject
Swift
class ParamGrid : NSObject
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
-
Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method
Declaration
Objective-C
+ (nonnull ParamGrid *)create:(double)minVal maxVal:(double)maxVal logstep:(double)logstep;
Swift
class func create(minVal: Double, maxVal: Double, logstep: Double) -> ParamGrid
Parameters
minVal
minimum value of the parameter grid
maxVal
maximum value of the parameter grid
logstep
Logarithmic step for iterating the statmodel parameter
-
Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method
Declaration
Objective-C
+ (nonnull ParamGrid *)create:(double)minVal maxVal:(double)maxVal;
Swift
class func create(minVal: Double, maxVal: Double) -> ParamGrid
Parameters
minVal
minimum value of the parameter grid
maxVal
maximum value of the parameter grid
-
Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method
Declaration
Objective-C
+ (nonnull ParamGrid *)create:(double)minVal;
Swift
class func create(minVal: Double) -> ParamGrid
Parameters
minVal
minimum value of the parameter grid
-
Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method
Declaration
Objective-C
+ (nonnull ParamGrid *)create;
Swift
class func create() -> ParamGrid
-
Declaration
Objective-C
@property double minVal
Swift
var minVal: Double { get set }
-
Declaration
Objective-C
@property double maxVal
Swift
var maxVal: Double { get set }
-
Declaration
Objective-C
@property double logStep
Swift
var logStep: Double { get set }