{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/14346","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/14346/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/14346/comments","events_url":"https://api.github.com/repos/apache/spark/issues/14346/events","html_url":"https://github.com/apache/spark/pull/14346","id":167367454,"number":14346,"title":"[SPARK-16710] [SparkR] [ML] spark.glm should support weightCol","user":{"login":"yanboliang","id":1962026,"avatar_url":"https://avatars.githubusercontent.com/u/1962026?v=3","gravatar_id":"","url":"https://api.github.com/users/yanboliang","html_url":"https://github.com/yanboliang","followers_url":"https://api.github.com/users/yanboliang/followers","following_url":"https://api.github.com/users/yanboliang/following{/other_user}","gists_url":"https://api.github.com/users/yanboliang/gists{/gist_id}","starred_url":"https://api.github.com/users/yanboliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanboliang/subscriptions","organizations_url":"https://api.github.com/users/yanboliang/orgs","repos_url":"https://api.github.com/users/yanboliang/repos","events_url":"https://api.github.com/users/yanboliang/events{/privacy}","received_events_url":"https://api.github.com/users/yanboliang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-25T13:35:44Z","updated_at":"2016-08-09T17:33:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/14346","html_url":"https://github.com/apache/spark/pull/14346","diff_url":"https://github.com/apache/spark/pull/14346.diff","patch_url":"https://github.com/apache/spark/pull/14346.patch"},"body":"## What changes were proposed in this pull request?\r\nTraining GLMs on weighted dataset is very important use cases, but it is not supported by SparkR currently. Users can pass argument ```weights``` to specify the weights vector in native R. For ```spark.glm```, we can pass in the ```weightCol``` which is consistent with MLlib.\r\n\r\n## How was this patch tested?\r\nUnit test.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/238628931","html_url":"https://github.com/apache/spark/pull/14346#issuecomment-238628931","issue_url":"https://api.github.com/repos/apache/spark/issues/14346","id":238628931,"user":{"login":"felixcheung","id":8969467,"avatar_url":"https://avatars.githubusercontent.com/u/8969467?v=3","gravatar_id":"","url":"https://api.github.com/users/felixcheung","html_url":"https://github.com/felixcheung","followers_url":"https://api.github.com/users/felixcheung/followers","following_url":"https://api.github.com/users/felixcheung/following{/other_user}","gists_url":"https://api.github.com/users/felixcheung/gists{/gist_id}","starred_url":"https://api.github.com/users/felixcheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixcheung/subscriptions","organizations_url":"https://api.github.com/users/felixcheung/orgs","repos_url":"https://api.github.com/users/felixcheung/repos","events_url":"https://api.github.com/users/felixcheung/events{/privacy}","received_events_url":"https://api.github.com/users/felixcheung/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T17:33:29Z","updated_at":"2016-08-09T17:33:29Z","body":"LGTM"}}
{"actor":{"display_login":"felixcheung"}}