OpenCV for Unity  2.6.0
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.9.0/index.html ) for the details of the argument of the method.
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
OpenCVForUnity.MlModule.ParamGrid Class Reference

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

Inheritance diagram for OpenCVForUnity.MlModule.ParamGrid:
OpenCVForUnity.DisposableOpenCVObject OpenCVForUnity.DisposableObject

Public Member Functions

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

Static Public Member Functions

static ParamGrid __fromPtr__ (IntPtr addr)
 
static ParamGrid create (double minVal, double maxVal, double logstep)
 Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method. More...
 
static ParamGrid create (double minVal, double maxVal)
 Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method. More...
 
static ParamGrid create (double minVal)
 Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method. More...
 
static ParamGrid create ()
 Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method. More...
 
- 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 (IntPtr ptr)
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- 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 ( 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

◆ create() [2/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() [3/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() [4/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

◆ 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: