object Standardizer extends Serializable

Utilities to compute and apply standarizations

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def applyStandardization(input: Seq[Any], trans: Option[Standardization]): Seq[Any]

    Apply the standardization to a sequence of values, which should result in output with zero mean and unit variance

    Apply the standardization to a sequence of values, which should result in output with zero mean and unit variance

    input

    to standardize

    trans

    transformation to apply

    returns

    sequence of standardized values

  5. def applyStandardization(input: Seq[Vector[Any]], trans: Seq[Option[Standardization]]): Seq[Vector[Any]]

    Apply the standardizations to vectors, which should result in an output with zero mean and unit variance

    Apply the standardizations to vectors, which should result in an output with zero mean and unit variance

    input

    to standardize

    trans

    transformtions to apply. None means no transformation

    returns

    sequence of standardized vectors

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getMultiStandardization(values: Seq[Vector[Any]]): Seq[Option[Standardization]]

    Get standardization for multiple values in a vector.

    Get standardization for multiple values in a vector.

    This has a different name because the jvm erases the inner type of Seq[T]

    values

    sequence of vectors to be standardized

    returns

    sequence of standardization, each as an option

  13. def getStandardization(values: Seq[Double]): Standardization

    The standardizations are just shifts and rescale.

    The standardizations are just shifts and rescale. The shift is by the mean and the re-scale is by the variance

    values

    to get a standardizer for

    returns

    (shift, rescaling)

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def invertStandardization(input: Seq[Any], trans: Option[Standardization]): Seq[Any]

    Invert the standardization on a sequence of values

    Invert the standardization on a sequence of values

    input

    to invert the standardization

    trans

    transformation to un-apply

    returns

    sequence of restored values

  16. def invertStandardization(input: Seq[Vector[Any]], trans: Seq[Option[Standardization]]): Seq[Vector[Any]]

    Invert the standardizations on vectors.

    Invert the standardizations on vectors.

    input

    to invert the standardization

    trans

    transformations to un-apply. None means no transformation

    returns

    sequence of restored vectors

  17. def invertStandardizationOption(input: Seq[Seq[Option[Any]]], trans: Seq[Option[Standardization]]): Seq[Seq[Option[Any]]]

    Invert the standardizations on sequences of optional values.

    Invert the standardizations on sequences of optional values.

    input

    to invert the standardization, if the value is defined

    trans

    transformations to un-apply. None means no transformation

    returns

    sequence of restored vectors

  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped