trait NormalizedDimension extends AnyRef

Maps a double within a known range to an Int in [0, bins)

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NormalizedDimension
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def denormalize(x: Int): Double

    Denormalize the value in bin x

    Denormalize the value in bin x

    x

    [0, maxIndex]

    returns

    [min, max]

  2. abstract def max: Double

    Max value considered for normalizing

  3. abstract def maxIndex: Int

    Max value to normalize to

  4. abstract def min: Double

    Min value considered for normalization range

  5. abstract def normalize(x: Double): Int

    Normalize the value

    Normalize the value

    x

    [min, max]

    returns

    [0, maxIndex]