spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-21976) Fix wrong doc about Mean Absolute Error
Date Mon, 11 Sep 2017 13:55:00 GMT

    [ 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


Mime
View raw message