{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/5799","labels_url":"https://api.github.com/repos/apache/spark/issues/5799/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/5799/comments","events_url":"https://api.github.com/repos/apache/spark/issues/5799/events","html_url":"https://github.com/apache/spark/pull/5799","id":72067982,"number":5799,"title":"[SPARK-7242][SQL][MLLIB] Frequent items for DataFrames","user":{"login":"brkyvz","id":5243515,"avatar_url":"https://avatars.githubusercontent.com/u/5243515?v=3","gravatar_id":"","url":"https://api.github.com/users/brkyvz","html_url":"https://github.com/brkyvz","followers_url":"https://api.github.com/users/brkyvz/followers","following_url":"https://api.github.com/users/brkyvz/following{/other_user}","gists_url":"https://api.github.com/users/brkyvz/gists{/gist_id}","starred_url":"https://api.github.com/users/brkyvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brkyvz/subscriptions","organizations_url":"https://api.github.com/users/brkyvz/orgs","repos_url":"https://api.github.com/users/brkyvz/repos","events_url":"https://api.github.com/users/brkyvz/events{/privacy}","received_events_url":"https://api.github.com/users/brkyvz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-04-30T05:33:13Z","updated_at":"2015-04-30T10:27:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/5799","html_url":"https://github.com/apache/spark/pull/5799","diff_url":"https://github.com/apache/spark/pull/5799.diff","patch_url":"https://github.com/apache/spark/pull/5799.patch"},"body":"Finding frequent items with possibly false positives, using the algorithm described in `http://www.cs.umd.edu/~samir/498/karp.pdf`.\r\npublic API under:\r\n```\r\ndf.stat.freqItems(cols: Array[String], support: Double = 0.001): DataFrame\r\n```\r\n\r\nThe output is a local DataFrame having the input column names with `-freqItems` appended to it. This is a single pass algorithm that may return false positives, but no false negatives.\r\n\r\ncc @mengxr @rxin \r\n\r\nLet's get the implementations in, I can add python API in a follow up PR."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/97731696","html_url":"https://github.com/apache/spark/pull/5799#issuecomment-97731696","issue_url":"https://api.github.com/repos/apache/spark/issues/5799","id":97731696,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T10:27:52Z","updated_at":"2015-04-30T10:27:52Z","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/31404/\nTest PASSed."}}