Package org.opencv.ml
Class ParamGrid
- java.lang.Object
- 
- org.opencv.ml.ParamGrid
 
- 
 public class ParamGrid extends java.lang.ObjectThe 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.
- 
- 
Field SummaryFields Modifier and Type Field Description protected longnativeObj
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedParamGrid(long addr)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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 methodprotected voidfinalize()doubleget_logStep()doubleget_maxVal()doubleget_minVal()longgetNativeObjAddr()voidset_logStep(double logStep)voidset_maxVal(double maxVal)voidset_minVal(double minVal)
 
- 
- 
- 
Method Detail- 
getNativeObjAddrpublic long getNativeObjAddr() 
 - 
__fromPtr__public static ParamGrid __fromPtr__(long addr) 
 - 
createpublic static ParamGrid create(double minVal, double maxVal, double logstep) Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method- Parameters:
- minVal- minimum value of the parameter grid
- maxVal- maximum value of the parameter grid
- logstep- Logarithmic step for iterating the statmodel parameter
- Returns:
- automatically generated
 
 - 
createpublic static ParamGrid create(double minVal, double maxVal) Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method- Parameters:
- minVal- minimum value of the parameter grid
- maxVal- maximum value of the parameter grid
- Returns:
- automatically generated
 
 - 
createpublic static ParamGrid create(double minVal) Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method- Parameters:
- minVal- minimum value of the parameter grid
- Returns:
- automatically generated
 
 - 
createpublic static ParamGrid create() Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method- Returns:
- automatically generated
 
 - 
get_minValpublic double get_minVal() 
 - 
set_minValpublic void set_minVal(double minVal) 
 - 
get_maxValpublic double get_maxVal() 
 - 
set_maxValpublic void set_maxVal(double maxVal) 
 - 
get_logSteppublic double get_logStep() 
 - 
set_logSteppublic void set_logStep(double logStep) 
 - 
finalizeprotected void finalize() throws java.lang.Throwable- Overrides:
- finalizein class- java.lang.Object
- Throws:
- java.lang.Throwable
 
 
- 
 
-