From 89e6858545d5f9b064b590b3e3e5f34bcb3bfa82 Mon Sep 17 00:00:00 2001 From: Sandeep Singh Date: Wed, 9 Nov 2016 21:49:25 +0530 Subject: [PATCH] remove TODO: --- .../main/scala/org/apache/spark/ml/feature/StandardScaler.scala | 1 - 1 file changed, 1 deletion(-) diff --git a/mllib/src/main/scala/org/apache/spark/ml/feature/StandardScaler.scala b/mllib/src/main/scala/org/apache/spark/ml/feature/StandardScaler.scala index 70daf229c8d73..16f9d3bba6831 100644 --- a/mllib/src/main/scala/org/apache/spark/ml/feature/StandardScaler.scala +++ b/mllib/src/main/scala/org/apache/spark/ml/feature/StandardScaler.scala @@ -162,7 +162,6 @@ class StandardScalerModel private[ml] ( transformSchema(dataset.schema, logging = true) val scaler = new feature.StandardScalerModel(std, mean, $(withStd), $(withMean)) - // TODO: Make the transformer natively in ml framework to avoid extra conversion. val transformer: Vector => Vector = v => transform(scaler.mean, v)