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

    https://github.com/apache/spark/pull/14194#discussion_r71983716
  
    --- Diff: docs/ml-features.md ---
    @@ -815,7 +815,7 @@ The rescaled value for a feature E is calculated as,
     `\begin{equation}
       Rescaled(e_i) = \frac{e_i - E_{min}}{E_{max} - E_{min}} * (max - min) + 
min
     \end{equation}`
    -For the case `E_{max} == E_{min}`, `Rescaled(e_i) = 0.5 * (max + min)`
    +For the case `$E_{max} == E_{min}$`, `$Rescaled(e_i) = 0.5 * (max + min)$`
    --- End diff --
    
    Nit: write = instead of == in the first equation?
    It looks like this is repeated in the scaladoc for MinMaxScaler. Can that 
be updated 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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to