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) -> ParamGridParameters
minValminimum value of the parameter grid
maxValmaximum value of the parameter grid
logstepLogarithmic 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) -> ParamGridParameters
minValminimum value of the parameter grid
maxValmaximum 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) -> ParamGridParameters
minValminimum 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 minValSwift
var minVal: Double { get set } -
Declaration
Objective-C
@property double maxValSwift
var maxVal: Double { get set } -
Declaration
Objective-C
@property double logStepSwift
var logStep: Double { get set }
View on GitHub
ParamGrid Class Reference