edu.northwestern.at.utils.math.statistics
Class Standardize

java.lang.Object
  extended by edu.northwestern.at.utils.math.statistics.Standardize

public class Standardize
extends java.lang.Object

Standardize -- Standardize columns of an (n x m) matrix.


Constructor Summary
protected Standardize()
          Don't allow instantiation, but allow subclassing.
 
Method Summary
static Matrix[] standardize(Matrix matrix)
          Standardize columns of a matrix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Standardize

protected Standardize()
Don't allow instantiation, but allow subclassing.

Method Detail

standardize

public static Matrix[] standardize(Matrix matrix)
Standardize columns of a matrix.

Parameters:
matrix - The n x m data matrix whose columns are to be standardized to mean=0 and standard deviation=1.
Returns:
The input matrix is standardized. The result is a two-element array of type matrix. The first element is a matrix with one row and m columns containing the column means. The second element is a matrix with one row and m columns containing the column standard deviations.