{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/4735","labels_url":"https://api.github.com/repos/apache/spark/issues/4735/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/4735/comments","events_url":"https://api.github.com/repos/apache/spark/issues/4735/events","html_url":"https://github.com/apache/spark/pull/4735","id":58672362,"number":4735,"title":"[SPARK-5886][ML] Add label indexer","user":{"login":"mengxr","id":829644,"avatar_url":"https://avatars.githubusercontent.com/u/829644?v=3","gravatar_id":"","url":"https://api.github.com/users/mengxr","html_url":"https://github.com/mengxr","followers_url":"https://api.github.com/users/mengxr/followers","following_url":"https://api.github.com/users/mengxr/following{/other_user}","gists_url":"https://api.github.com/users/mengxr/gists{/gist_id}","starred_url":"https://api.github.com/users/mengxr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mengxr/subscriptions","organizations_url":"https://api.github.com/users/mengxr/orgs","repos_url":"https://api.github.com/users/mengxr/repos","events_url":"https://api.github.com/users/mengxr/events{/privacy}","received_events_url":"https://api.github.com/users/mengxr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-02-24T00:11:42Z","updated_at":"2015-03-25T01:14:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/4735","html_url":"https://github.com/apache/spark/pull/4735","diff_url":"https://github.com/apache/spark/pull/4735.diff","patch_url":"https://github.com/apache/spark/pull/4735.patch"},"body":"This PR adds label indexer, which takes a column of labels and outputs an integer column with labels indexed by their frequency.\r\n\r\nTODOs:\r\n- [x] store feature to index map in output metadata"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/85769350","html_url":"https://github.com/apache/spark/pull/4735#issuecomment-85769350","issue_url":"https://api.github.com/repos/apache/spark/issues/4735","id":85769350,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T01:14:38Z","updated_at":"2015-03-25T01:14:38Z","body":"  [Test build #29127 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/29127/consoleFull) for   PR 4735 at commit [`457166e`](https://github.com/apache/spark/commit/457166eb74eb5bd3d7d642a3a13f2423f216cc9a).\n * This patch **fails Spark unit tests**.\n\n * This patch merges cleanly.\n * This patch adds the following public classes _(experimental)_:\n  * `class LabelIndexer extends Estimator[LabelIndexerModel] with LabelIndexerBase `\n  * `    implicit class DslSymbol(sym: Symbol) extends ImplicitAttribute `\n"}}