spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hhbyyh <>
Subject [GitHub] spark pull request: [SPARK-8531] [ML] Update ML user guide for Min...
Date Thu, 13 Aug 2015 02:06:34 GMT
Github user hhbyyh commented on a diff in the pull request:
    --- Diff: docs/ ---
    @@ -905,6 +906,74 @@ scaledData = scalerModel.transform(dataFrame)
    +## MinMaxScaler
    +`MinMaxScaler` transforms a dataset of `Vector` rows, rescaling each feature to a specific
range (often [0, 1]).  It takes parameters:
    +* `min`: 0.0 by default. Lower bound after transformation, shared by all features.
    +* `max`: 1.0 by default. Upper bound after transformation, shared by all features.
    +`MinMaxScaler` computes summary statistics on a data set and produces a `MinMaxScalerModel`.
The model can then transform each feature individually such that it is in the given range.
    +The rescaled value for a feature E is calculated as,
    +  Rescaled(e_i) = \frac{e_i - E_{min}}{E_{max} - E_{min}} * (max - min) + min
    --- End diff --
    Sure, do you mean adding `\begin{equation} ....\end{equation}`, or I should further modify
the equation.

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message