You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/09/11 13:55:00 UTC

[jira] [Commented] (SPARK-21976) Fix wrong doc about Mean Absolute Error

    [ https://issues.apache.org/jira/browse/SPARK-21976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161271#comment-16161271 ] 

Apache Spark commented on SPARK-21976:
--------------------------------------

User 'FavioVazquez' has created a pull request for this issue:
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: Minor
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org