Struct ParamGrid
The structure represents the logarithmic grid range of statmodel parameters.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenCvSharp.ML
Assembly: OpenCvSharp.dll
Syntax
public struct ParamGrid
Constructors
| Improve this Doc View SourceParamGrid(Double, Double, Double)
Constructor with parameters
Declaration
public ParamGrid(double minVal, double maxVal, double logStep)
Parameters
Type | Name | Description |
---|---|---|
System.Double | minVal | |
System.Double | maxVal | |
System.Double | logStep |
Fields
| Improve this Doc View SourceLogStep
Logarithmic step for iterating the statmodel parameter.
Declaration
public double LogStep
Field Value
Type | Description |
---|---|
System.Double |
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.
Declaration
public double MaxVal
Field Value
Type | Description |
---|---|
System.Double |
MinVal
Minimum value of the statmodel parameter. Default value is 0.
Declaration
public double MinVal
Field Value
Type | Description |
---|---|
System.Double |