object Standardizer extends Serializable
Utilities to compute and apply standarizations
- Alphabetic
- By Inheritance
- Standardizer
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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
- 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)
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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
- 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
- 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
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()