Class

io.github.mandar2812.dynaml.utils

GaussianScaler

Related Doc: package utils

Permalink

case class GaussianScaler(mean: DenseVector[Double], sigma: DenseVector[Double]) extends ReversibleScaler[DenseVector[Double]] with Product with Serializable

Scales attributes of a vector pattern using the sample mean and variance of each dimension. This assumes that there is no covariance between the data dimensions.

mean

Sample mean of the data

sigma

Sample variance of each data dimension

Linear Supertypes
Product, Equals, ReversibleScaler[DenseVector[Double]], Encoder[DenseVector[Double], DenseVector[Double]], Scaler[DenseVector[Double]], DataPipe[DenseVector[Double], DenseVector[Double]], Serializable, Serializable, DataPipeConvertible[DenseVector[Double], DenseVector[Double]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GaussianScaler
  2. Product
  3. Equals
  4. ReversibleScaler
  5. Encoder
  6. Scaler
  7. DataPipe
  8. Serializable
  9. Serializable
  10. DataPipeConvertible
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GaussianScaler(mean: DenseVector[Double], sigma: DenseVector[Double])

    Permalink

    mean

    Sample mean of the data

    sigma

    Sample variance of each data dimension

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def %>(that: Basis[DenseVector[Double]]): Basis[DenseVector[Double]]

    Permalink
    Definition Classes
    DataPipe
  4. def *[T](that: ReversibleScaler[T]): ReversibleScaler[(DenseVector[Double], T)]

    Permalink
    Definition Classes
    ReversibleScaler
  5. def *[T](that: Scaler[T]): Scaler[(DenseVector[Double], T)]

    Permalink
    Definition Classes
    Scaler
  6. def *[OtherSource, OtherDestination](that: DataPipe[OtherSource, OtherDestination]): ParallelPipe[DenseVector[Double], DenseVector[Double], OtherSource, OtherDestination]

    Permalink
    Definition Classes
    DataPipe
  7. def ++(other: GaussianScaler): GaussianScaler

    Permalink
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def >(otherRevScaler: ReversibleScaler[DenseVector[Double]]): ReversibleScaler[DenseVector[Double]]

    Permalink
    Definition Classes
    ReversibleScaler
  10. def >[Further](that: Encoder[DenseVector[Double], Further]): Encoder[DenseVector[Double], Further]

    Permalink
    Definition Classes
    Encoder
  11. def >(otherScaler: Scaler[DenseVector[Double]]): Scaler[DenseVector[Double]]

    Permalink
    Definition Classes
    Scaler
  12. def >[Further](that: DataPipeConvertible[DenseVector[Double], Further]): DataPipe[DenseVector[Double], Further]

    Permalink
    Definition Classes
    DataPipe
  13. def >-<[OtherSource, OtherDestination](that: DataPipe[OtherSource, OtherDestination]): DataPipe2[DenseVector[Double], OtherSource, (DenseVector[Double], OtherDestination)]

    Permalink
    Definition Classes
    DataPipe
  14. def apply(index: Int): UnivariateGaussianScaler

    Permalink
  15. def apply(r: Range): GaussianScaler

    Permalink
  16. def apply[T <: Traversable[DenseVector[Double]]](data: T): T

    Permalink
    Definition Classes
    ReversibleScaler → Scaler → DataPipe
  17. def apply(data: DenseVector[Double]): DenseVector[Double]

    Permalink
    Definition Classes
    DataPipe
  18. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  19. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. val i: Scaler[DenseVector[Double]]

    Permalink
    Definition Classes
    GaussianScaler → ReversibleScaler → Encoder
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. val mean: DenseVector[Double]

    Permalink

    Sample mean of the data

  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. def run(data: DenseVector[Double]): DenseVector[Double]

    Permalink
    Definition Classes
    GaussianScaler → DataPipe
  30. val sigma: DenseVector[Double]

    Permalink

    Sample variance of each data dimension

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toPipe: (DenseVector[Double]) ⇒ DenseVector[Double]

    Permalink
    Definition Classes
    DataPipe → DataPipeConvertible
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from ReversibleScaler[DenseVector[Double]]

Inherited from Encoder[DenseVector[Double], DenseVector[Double]]

Inherited from Scaler[DenseVector[Double]]

Inherited from DataPipe[DenseVector[Double], DenseVector[Double]]

Inherited from Serializable

Inherited from Serializable

Inherited from DataPipeConvertible[DenseVector[Double], DenseVector[Double]]

Inherited from AnyRef

Inherited from Any

Ungrouped