{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/8631","labels_url":"https://api.github.com/repos/apache/spark/issues/8631/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/8631/comments","events_url":"https://api.github.com/repos/apache/spark/issues/8631/events","html_url":"https://github.com/apache/spark/pull/8631","id":105115709,"number":8631,"title":"[SPARK-9642] [ML] [WIP] LinearRegression should supported weighted data","user":{"login":"rotationsymmetry","id":11525028,"avatar_url":"https://avatars.githubusercontent.com/u/11525028?v=3","gravatar_id":"","url":"https://api.github.com/users/rotationsymmetry","html_url":"https://github.com/rotationsymmetry","followers_url":"https://api.github.com/users/rotationsymmetry/followers","following_url":"https://api.github.com/users/rotationsymmetry/following{/other_user}","gists_url":"https://api.github.com/users/rotationsymmetry/gists{/gist_id}","starred_url":"https://api.github.com/users/rotationsymmetry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rotationsymmetry/subscriptions","organizations_url":"https://api.github.com/users/rotationsymmetry/orgs","repos_url":"https://api.github.com/users/rotationsymmetry/repos","events_url":"https://api.github.com/users/rotationsymmetry/events{/privacy}","received_events_url":"https://api.github.com/users/rotationsymmetry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-09-06T20:30:49Z","updated_at":"2015-09-18T04:56:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/8631","html_url":"https://github.com/apache/spark/pull/8631","diff_url":"https://github.com/apache/spark/pull/8631.diff","patch_url":"https://github.com/apache/spark/pull/8631.patch"},"body":"In many modeling application, data points are not necessarily sampled with equal probabilities. Linear regression should support weighting which account the over or under sampling.\r\n\r\nwork in progress. \r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/141344261","html_url":"https://github.com/apache/spark/pull/8631#issuecomment-141344261","issue_url":"https://api.github.com/repos/apache/spark/issues/8631","id":141344261,"user":{"login":"rotationsymmetry","id":11525028,"avatar_url":"https://avatars.githubusercontent.com/u/11525028?v=3","gravatar_id":"","url":"https://api.github.com/users/rotationsymmetry","html_url":"https://github.com/rotationsymmetry","followers_url":"https://api.github.com/users/rotationsymmetry/followers","following_url":"https://api.github.com/users/rotationsymmetry/following{/other_user}","gists_url":"https://api.github.com/users/rotationsymmetry/gists{/gist_id}","starred_url":"https://api.github.com/users/rotationsymmetry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rotationsymmetry/subscriptions","organizations_url":"https://api.github.com/users/rotationsymmetry/orgs","repos_url":"https://api.github.com/users/rotationsymmetry/repos","events_url":"https://api.github.com/users/rotationsymmetry/events{/privacy}","received_events_url":"https://api.github.com/users/rotationsymmetry/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T04:56:50Z","updated_at":"2015-09-18T04:56:50Z","body":"@dbtsai Thanks for the comment on indentation. I have fixed it in the patch."}}