object Standardizer extends Serializable
Utilities to compute and apply standarizations
- Alphabetic
- By Inheritance
- Standardizer
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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[(Double, Double)]): 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[(Double, Double)]]): Seq[Vector[Any]]
Apply the standardization to vectors, which should result in an output with zero mean and unit variance
Apply the standardization 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getMultiStandardization(values: Seq[Vector[Any]]): Seq[Option[(Double, Double)]]
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]): (Double, Double)
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
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )