Skip to content

Commit

Permalink
Fix default param initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
jrabary committed Apr 14, 2015
1 parent 17e1a76 commit edd9d48
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private[feature] trait StandardScalerParams extends Params with HasInputCol with
)
}

setDefault(withMean -> false, withStd -> true)


/**
* :: AlphaComponent ::
Expand All @@ -50,6 +50,8 @@ setDefault(withMean -> false, withStd -> true)
@AlphaComponent
class StandardScaler extends Estimator[StandardScalerModel] with StandardScalerParams {

setDefault(withMean -> false, withStd -> true)

/** @group setParam */
def setInputCol(value: String): this.type = set(inputCol, value)

Expand Down

0 comments on commit edd9d48

Please sign in to comment.