Github user jkbradley commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4704#discussion_r28548306
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/feature/StandardScaler.scala ---
    @@ -29,7 +29,22 @@ import org.apache.spark.sql.types.{StructField, 
StructType}
     /**
      * Params for [[StandardScaler]] and [[StandardScalerModel]].
      */
    -private[feature] trait StandardScalerParams extends Params with 
HasInputCol with HasOutputCol
    +private[feature] trait StandardScalerParams extends Params with 
HasInputCol with HasOutputCol {
    +  
    +  /**
    +   * Whether to center the data before scaling
    +   * @group param
    +   */
    +  val withMean: BooleanParam = new BooleanParam(this, "withMean", "Center 
data with mean")
    +  
    +  /**
    +   * Whether to scale the data to have unit standard deviation
    --- End diff --
    
    Could you please state the default here too?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to