Package org.opencv.ml
Class ParamGrid
java.lang.Object
org.opencv.ml.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.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParamGrid__fromPtr__(long addr) static ParamGridcreate()Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto methodstatic ParamGridcreate(double minVal) Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto methodstatic ParamGridcreate(double minVal, double maxVal) Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto methodstatic ParamGridcreate(double minVal, double maxVal, double logstep) Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto methoddoubledoubledoublelongvoidset_logStep(double logStep) voidset_maxVal(double maxVal) voidset_minVal(double minVal)
-
Method Details
-
getNativeObjAddr
public long getNativeObjAddr() -
__fromPtr__
-
create
Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method- Parameters:
minVal- minimum value of the parameter gridmaxVal- maximum value of the parameter gridlogstep- Logarithmic step for iterating the statmodel parameter- Returns:
- automatically generated
-
create
Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method- Parameters:
minVal- minimum value of the parameter gridmaxVal- maximum value of the parameter grid- Returns:
- automatically generated
-
create
Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method- Parameters:
minVal- minimum value of the parameter grid- Returns:
- automatically generated
-
create
Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method- Returns:
- automatically generated
-
get_minVal
public double get_minVal() -
set_minVal
public void set_minVal(double minVal) -
get_maxVal
public double get_maxVal() -
set_maxVal
public void set_maxVal(double maxVal) -
get_logStep
public double get_logStep() -
set_logStep
public void set_logStep(double logStep)
-