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

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

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

Favio Vázquez updated SPARK-21976:
----------------------------------
    Description: 
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. 

  was:
Fix wrong doc for MAE in webpage. 

Even though the code is correct for the MAE:

{code:scala}
@Since("1.2.0")
  def meanAbsoluteError: Double = {
    summary.normL1(1) / summary.count
  }
{code}

In the documentation the division by n is missing. 


> 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