Xiangrui Meng created SPARK-7242:
------------------------------------
Summary: Frequent items for DataFrames
Key: SPARK-7242
URL: https://issues.apache.org/jira/browse/SPARK-7242
Project: Spark
Issue Type: Sub-task
Components: SQL
Reporter: Xiangrui Meng
Assignee: Burak Yavuz
Finding frequent items with possibly false positives, using the algorithm
described in http://www.cs.umd.edu/~samir/498/karp.pdf.
{code}
df.stat.freqItems(cols: Array[String], support: Double = 0.001): DataFrame
{code}
The output is a local DataFrame having the input column names. In the first
version, we will implement the single pass algorithm that may return false
positives, but no false negatives.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]