apache/spark — pull request #1698 by andy327 (2014-07-31 18:42:28+00:00)
Title: Add normalizeByCol method to mllib.util.MLUtils.

Adds the ability to compute the mean and standard deviations of each vector (LabeledPoint) component and normalize each vector in the RDD, using only RDD transformations. The result is an RDD of Vectors where each column has a mean of zero and standard deviation of one.