OpenCV for Unity 2.6.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.MlModule.ParamGrid Class Reference

The structure represents the logarithmic grid range of statmodel parameters. More...

Public Member Functions

double get_logStep ()
 
double get_maxVal ()
 
double get_minVal ()
 
IntPtr getNativeObjAddr ()
 
void set_logStep (double logStep)
 
void set_maxVal (double maxVal)
 
void set_minVal (double minVal)
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 
void ThrowIfDisposed ()
 

Static Public Member Functions

static ParamGrid __fromPtr__ (IntPtr addr)
 
static ParamGrid create ()
 Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method.
 
static ParamGrid create (double minVal)
 Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method.
 
static ParamGrid create (double minVal, double maxVal)
 Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method.
 
static ParamGrid create (double minVal, double maxVal, double logstep)
 Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method.
 
- Static Public Member Functions inherited from OpenCVForUnity.DisposableObject
static IntPtr ThrowIfNullIntPtr (IntPtr ptr)
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject
- Properties inherited from OpenCVForUnity.DisposableObject
bool IsDisposed [get, protected set]
 
bool IsEnabledDispose [get, set]
 

Detailed Description

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.

Member Function Documentation

◆ __fromPtr__()

static ParamGrid OpenCVForUnity.MlModule.ParamGrid.__fromPtr__ ( IntPtr addr)
static

◆ create() [1/4]

static ParamGrid OpenCVForUnity.MlModule.ParamGrid.create ( )
static

Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method.

Parameters
minValminimum value of the parameter grid
maxValmaximum value of the parameter grid
logstepLogarithmic step for iterating the statmodel parameter

◆ create() [2/4]

static ParamGrid OpenCVForUnity.MlModule.ParamGrid.create ( double minVal)
static

Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method.

Parameters
minValminimum value of the parameter grid
maxValmaximum value of the parameter grid
logstepLogarithmic step for iterating the statmodel parameter

◆ create() [3/4]

static ParamGrid OpenCVForUnity.MlModule.ParamGrid.create ( double minVal,
double maxVal )
static

Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method.

Parameters
minValminimum value of the parameter grid
maxValmaximum value of the parameter grid
logstepLogarithmic step for iterating the statmodel parameter

◆ create() [4/4]

static ParamGrid OpenCVForUnity.MlModule.ParamGrid.create ( double minVal,
double maxVal,
double logstep )
static

Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method.

Parameters
minValminimum value of the parameter grid
maxValmaximum value of the parameter grid
logstepLogarithmic step for iterating the statmodel parameter

◆ Dispose()

override void OpenCVForUnity.MlModule.ParamGrid.Dispose ( bool disposing)
protectedvirtual

◆ get_logStep()

double OpenCVForUnity.MlModule.ParamGrid.get_logStep ( )

◆ get_maxVal()

double OpenCVForUnity.MlModule.ParamGrid.get_maxVal ( )

◆ get_minVal()

double OpenCVForUnity.MlModule.ParamGrid.get_minVal ( )

◆ getNativeObjAddr()

IntPtr OpenCVForUnity.MlModule.ParamGrid.getNativeObjAddr ( )

◆ set_logStep()

void OpenCVForUnity.MlModule.ParamGrid.set_logStep ( double logStep)

◆ set_maxVal()

void OpenCVForUnity.MlModule.ParamGrid.set_maxVal ( double maxVal)

◆ set_minVal()

void OpenCVForUnity.MlModule.ParamGrid.set_minVal ( double minVal)

The documentation for this class was generated from the following file: