Skip to content

Commit

Permalink
Comments fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jrabary committed Apr 19, 2015
1 parent ef96d73 commit 8896b0e
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,19 @@ import org.apache.spark.sql.types.{StructField, StructType}
private[feature] trait StandardScalerParams extends Params with HasInputCol with HasOutputCol {

/**
* Whether to center the data before scaling
* False by default. Centers the data with mean before scaling.
* It will build a dense output, so this does not work on sparse input and will raise an exception.
* @group param
*/
val withMean: BooleanParam = new BooleanParam(this, "withMean", "Center data with mean")

/**
* Whether to scale the data to have unit standard deviation
* True by default. Scales the data to unit standard deviation.
* @group param
*/
val withStd: BooleanParam = new BooleanParam(this, "withStd", "Scale to unit standard deviation")
}



/**
* :: AlphaComponent ::
* Standardizes features by removing the mean and scaling to unit variance using column summary
Expand Down

0 comments on commit 8896b0e

Please sign in to comment.