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] [Commented] (SPARK-7245) Spearman correlation for DataFrames
Date Tue, 29 Sep 2015 04:40:04 GMT

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

Xiangrui Meng commented on SPARK-7245:
--------------------------------------

[~JihongMA] may have already worked on this. There are two issues:

1. We have the implementation under Statistics in MLlib, but SQL doesn't depend on MLlib.
2. It might be hard to express it as a UDAF because it requires a global sort. We might need
to revise the implementation.

> Spearman correlation for DataFrames
> -----------------------------------
>
>                 Key: SPARK-7245
>                 URL: https://issues.apache.org/jira/browse/SPARK-7245
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Xiangrui Meng
>
> Spearman correlation is harder than Pearson to compute.
> ~~~
> df.stat.corr(col1, col2, method="spearman"): Double
> ~~~



--
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