View Source Evision.ML.ParamGrid (Evision v0.1.21)

Link to this section Summary

Types

t()

Type that represents an Evision.ML.ParamGrid struct.

Functions

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

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

Link to this section Types

@type t() :: %Evision.ML.ParamGrid{ref: reference()}

Type that represents an Evision.ML.ParamGrid struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

@spec create() :: t() | {:error, String.t()}

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

Keyword Arguments
  • minVal: double.

    minimum value of the parameter grid

  • maxVal: double.

    maximum value of the parameter grid

  • logstep: double.

    Logarithmic step for iterating the statmodel parameter

Return

Python prototype (for reference only):

create([, minVal[, maxVal[, logstep]]]) -> retval
@spec create([{atom(), term()}, ...] | nil) :: t() | {:error, String.t()}

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

Keyword Arguments
  • minVal: double.

    minimum value of the parameter grid

  • maxVal: double.

    maximum value of the parameter grid

  • logstep: double.

    Logarithmic step for iterating the statmodel parameter

Return

Python prototype (for reference only):

create([, minVal[, maxVal[, logstep]]]) -> retval
@spec get_logStep(t()) :: number()
@spec get_maxVal(t()) :: number()
@spec get_minVal(t()) :: number()
@spec set_logStep(t(), number()) :: t()
@spec set_maxVal(t(), number()) :: t()
@spec set_minVal(t(), number()) :: t()