{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/7785","labels_url":"https://api.github.com/repos/apache/spark/issues/7785/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/7785/comments","events_url":"https://api.github.com/repos/apache/spark/issues/7785/events","html_url":"https://github.com/apache/spark/pull/7785","id":98093119,"number":7785,"title":"[SPARK-9231] [MLlib] DistributedLDAModel method for top topics per document","user":{"login":"hhbyyh","id":7981698,"avatar_url":"https://avatars.githubusercontent.com/u/7981698?v=3","gravatar_id":"","url":"https://api.github.com/users/hhbyyh","html_url":"https://github.com/hhbyyh","followers_url":"https://api.github.com/users/hhbyyh/followers","following_url":"https://api.github.com/users/hhbyyh/following{/other_user}","gists_url":"https://api.github.com/users/hhbyyh/gists{/gist_id}","starred_url":"https://api.github.com/users/hhbyyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhbyyh/subscriptions","organizations_url":"https://api.github.com/users/hhbyyh/orgs","repos_url":"https://api.github.com/users/hhbyyh/repos","events_url":"https://api.github.com/users/hhbyyh/events{/privacy}","received_events_url":"https://api.github.com/users/hhbyyh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-30T06:00:52Z","updated_at":"2015-07-31T04:32:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/7785","html_url":"https://github.com/apache/spark/pull/7785","diff_url":"https://github.com/apache/spark/pull/7785.diff","patch_url":"https://github.com/apache/spark/pull/7785.patch"},"body":"jira: https://issues.apache.org/jira/browse/SPARK-9231\r\n\r\nHelper method in DistributedLDAModel of this form:\r\n```\r\n/**\r\n * For each document, return the top k weighted topics for that document.\r\n * @return RDD of (doc ID, topic indices, topic weights)\r\n */\r\ndef topTopicsPerDocument(k: Int): RDD[(Long, Array[Int], Array[Double])]\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/126563683","html_url":"https://github.com/apache/spark/pull/7785#issuecomment-126563683","issue_url":"https://api.github.com/repos/apache/spark/issues/7785","id":126563683,"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-07-31T04:32:57Z","updated_at":"2015-07-31T04:32:57Z","body":" Merged build triggered."}}