@Namespace(value="cv::ml") @NoOffset public static class opencv_ml.ParamGrid extends Pointer
It is used for optimizing statmodel accuracy by varying model parameters, the accuracy estimate being computed by cross-validation.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
opencv_ml.ParamGrid()
\brief Default constructor
|
opencv_ml.ParamGrid(double _minVal,
double _maxVal,
double _logStep)
\brief Constructor with parameters
|
opencv_ml.ParamGrid(long size)
Native array allocator.
|
opencv_ml.ParamGrid(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
logStep()
\brief Logarithmic step for iterating the statmodel parameter.
|
opencv_ml.ParamGrid |
logStep(double logStep) |
double |
maxVal()
Maximum value of the statmodel parameter.
|
opencv_ml.ParamGrid |
maxVal(double maxVal) |
double |
minVal()
Minimum value of the statmodel parameter.
|
opencv_ml.ParamGrid |
minVal(double minVal) |
opencv_ml.ParamGrid |
position(long position) |
address, asBuffer, asByteBuffer, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, maxBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic opencv_ml.ParamGrid(Pointer p)
Pointer.Pointer(Pointer).public opencv_ml.ParamGrid(long size)
Pointer.position(long).public opencv_ml.ParamGrid()
public opencv_ml.ParamGrid(double _minVal,
double _maxVal,
double _logStep)
public opencv_ml.ParamGrid position(long position)
public double minVal()
public opencv_ml.ParamGrid minVal(double minVal)
public double maxVal()
public opencv_ml.ParamGrid maxVal(double maxVal)
public double logStep()
The grid determines the following iteration sequence of the statmodel parameter values: \f[(minVal, minVal*step, minVal*{step}^2, \dots, minVal*{logStep}^n),\f] where \f$n\f$ is the maximal index satisfying \f[\texttt{minVal} * \texttt{logStep} ^n < \texttt{maxVal}\f] The grid is logarithmic, so logStep must always be greater then 1. Default value is 1.
public opencv_ml.ParamGrid logStep(double logStep)
Copyright © 2016. All rights reserved.