Struct ParamGrid
- Namespace
- OpenCvSharp.ML
- Assembly
- OpenCvSharp.dll
The structure represents the logarithmic grid range of statmodel parameters.
[SuppressMessage("Microsoft.Design", "CA1815: Override equals and operator equals on value types")]
public struct ParamGrid
- Inherited Members
Constructors
ParamGrid(double, double, double)
Constructor with parameters
public ParamGrid(double minVal, double maxVal, double logStep)
Parameters
Fields
LogStep
Logarithmic step for iterating the statmodel parameter.
public double LogStep
Field Value
Remarks
The grid determines the following iteration sequence of the statmodel parameter values: \f[(minVal, minValstep, 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.
MaxVal
Maximum value of the statmodel parameter. Default value is 0.
public double MaxVal
Field Value
MinVal
Minimum value of the statmodel parameter. Default value is 0.
public double MinVal