Packages

c

scalation.analytics

HyperParameter

class HyperParameter extends Cloneable

The HyperParameter class provides a simple and flexible means for handling model hyper-parameters. A model may have one or more hyper-parameters that are organized into a map 'name -> (value, defaultV)'.

Linear Supertypes
Cloneable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HyperParameter
  2. Cloneable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new HyperParameter()

Value Members

  1. def ++(hp2: HyperParameter): HyperParameter

    Concatenate 'this' hyper-parameter map with a second hyper-parameter map.

    Concatenate 'this' hyper-parameter map with a second hyper-parameter map.

    hp2

    the second hyper-parameter map

  2. def +=(name: String, value: Double, defaultV: Double): Unit

    Add a new hyper-parameter to the map.

    Add a new hyper-parameter to the map.

    name

    the name of the hyper-parameter

    value

    the value of the hyper-parameter

    defaultV

    the defualt value of the hyper-parameter

  3. def -=(name: String): Unit

    Remove the hyper-parameter with the given name from the map.

    Remove the hyper-parameter with the given name from the map.

    name

    the name of the hyper-parameter

  4. def apply(name: String): Double

    Given the 'name', return the hyper-parameter value.

    Given the 'name', return the hyper-parameter value.

    name

    the name of the hyper-parameter

  5. def default(name: String): Double

    Given the 'name', return the hyper-parameter default value.

    Given the 'name', return the hyper-parameter default value.

    name

    the name of the hyper-parameter

  6. def toString(): String

    Convert the hyper-parameter map to a string.

    Convert the hyper-parameter map to a string.

    Definition Classes
    HyperParameter → AnyRef → Any
  7. def update(name: String, value: Double): Unit

    Given the 'name', update the hyper-parameter value.

    Given the 'name', update the hyper-parameter value.

    name

    the name of the hyper-parameter

    value

    the value of the hyper-parameter

  8. def updateDefault(name: String, defaultV: Double): Unit

    Given the 'name', update the hyper-parameter default value.

    Given the 'name', update the hyper-parameter default value.

    name

    the name of the hyper-parameter

    defaultV

    the defualt value of the hyper-parameter

  9. def updateReturn(nvs: (String, Double)*): HyperParameter

    Create and return a new set of hyper-parameters, updating the one with the given 'name'.

    Create and return a new set of hyper-parameters, updating the one with the given 'name'.

    nvs

    the name-value pair for the hyper-parameter

  10. def updateReturn(name: String, value: Double): HyperParameter

    Create and return a new set of hyper-parameters, updating the one with the given 'name'.

    Create and return a new set of hyper-parameters, updating the one with the given 'name'.

    name

    the name of the hyper-parameter

    value

    the value of the hyper-parameter