spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiangrui Meng (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-7241) Pearson correlation for DataFrames
Date Wed, 29 Apr 2015 18:46:06 GMT

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

Xiangrui Meng updated SPARK-7241:
---------------------------------
    Description: 
This JIRA is for computing the Pearson linear correlation for two numerical columns in a DataFrame.
The method `corr` should live under `df.stat`:

{code}
df.stat.corr(col1, col2, method="pearson"): Double
{code}

`method` will be used when we add other correlations.

Similar to SPARK-7240, UDAF will be added later.


  was:
This JIRA is for computing the Pearson linear correlation for two numerical columns in a DataFrame.
The method `corr` should live under `df.stat`:

{code}
df.stat.corr(col1, col2, method="pearson"): Double
{code}

`method` will be used when we add other correlations.



> Pearson correlation for DataFrames
> ----------------------------------
>
>                 Key: SPARK-7241
>                 URL: https://issues.apache.org/jira/browse/SPARK-7241
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Xiangrui Meng
>            Assignee: Burak Yavuz
>
> This JIRA is for computing the Pearson linear correlation for two numerical columns in
a DataFrame. The method `corr` should live under `df.stat`:
> {code}
> df.stat.corr(col1, col2, method="pearson"): Double
> {code}
> `method` will be used when we add other correlations.
> Similar to SPARK-7240, UDAF will be added later.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message