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

Summary

Types

t()

Type that represents an 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

Types

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

Type that represents an ML.ParamGrid struct.

  • ref. reference()

    The underlying erlang resource variable.

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
  • retval: Evision.ML.ParamGrid.t()

Python prototype (for reference only):

create([, minVal[, maxVal[, logstep]]]) -> retval
@spec create(Keyword.t()) :: any() | {:error, String.t()}
@spec create([logstep: term(), maxVal: term(), minVal: 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
  • retval: Evision.ML.ParamGrid.t()

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