[ 
https://issues.apache.org/jira/browse/SPARK-21976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen resolved SPARK-21976.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.2
                   2.3.0
                   2.2.1

Issue resolved by pull request 19190
[https://github.com/apache/spark/pull/19190]

> Fix wrong doc about Mean Absolute Error
> ---------------------------------------
>
>                 Key: SPARK-21976
>                 URL: https://issues.apache.org/jira/browse/SPARK-21976
>             Project: Spark
>          Issue Type: Documentation
>          Components: Documentation, MLlib
>    Affects Versions: 2.2.0
>            Reporter: Favio Vázquez
>            Priority: Trivial
>             Fix For: 2.2.1, 2.3.0, 2.1.2
>
>
> Fix wrong doc for MAE in webpage. 
> Even though the code is correct for the MAE:
> {code}
> @Since("1.2.0")
>   def meanAbsoluteError: Double = {
>     summary.normL1(1) / summary.count
>   }
> {code}
> In the documentation the division by n is missing. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to