pub struct ParamGrid { /* private fields */ }
Expand 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.

Implementations

Default constructor

Constructor with parameters

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

Parameters
  • minVal: minimum value of the parameter grid
  • maxVal: maximum value of the parameter grid
  • logstep: Logarithmic step for iterating the statmodel parameter
C++ default parameters
  • min_val: 0.
  • max_val: 0.
  • logstep: 1.

Trait Implementations

Wrap the specified raw pointer Read more
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying raw pointer. Read more
Return the underlying mutable raw pointer Read more
Executes the destructor for this type. Read more
Minimum value of the statmodel parameter. Default value is 0.
Maximum value of the statmodel parameter. Default value is 0.
Logarithmic step for iterating the statmodel parameter. Read more
Minimum value of the statmodel parameter. Default value is 0.
Maximum value of the statmodel parameter. Default value is 0.
Logarithmic step for iterating the statmodel parameter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.