{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/15314","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/15314/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/15314/comments","events_url":"https://api.github.com/repos/apache/spark/issues/15314/events","html_url":"https://github.com/apache/spark/pull/15314","id":180314464,"number":15314,"title":"[SPARK-17747][ML] WeightCol support non-double numeric datatypes","user":{"login":"zhengruifeng","id":7322292,"avatar_url":"https://avatars.githubusercontent.com/u/7322292?v=3","gravatar_id":"","url":"https://api.github.com/users/zhengruifeng","html_url":"https://github.com/zhengruifeng","followers_url":"https://api.github.com/users/zhengruifeng/followers","following_url":"https://api.github.com/users/zhengruifeng/following{/other_user}","gists_url":"https://api.github.com/users/zhengruifeng/gists{/gist_id}","starred_url":"https://api.github.com/users/zhengruifeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhengruifeng/subscriptions","organizations_url":"https://api.github.com/users/zhengruifeng/orgs","repos_url":"https://api.github.com/users/zhengruifeng/repos","events_url":"https://api.github.com/users/zhengruifeng/events{/privacy}","received_events_url":"https://api.github.com/users/zhengruifeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":66,"created_at":"2016-09-30T14:14:30Z","updated_at":"2017-01-24T01:18:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/15314","html_url":"https://github.com/apache/spark/pull/15314","diff_url":"https://github.com/apache/spark/pull/15314.diff","patch_url":"https://github.com/apache/spark/pull/15314.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\n1, add test for `WeightCol` in `MLTestingUtils.checkNumericTypes`\r\n2, move datatype cast to `Predict.fit`, and supply algos' `train()` with casted dataframe\r\n## How was this patch tested?\r\n\r\nlocal tests in spark-shell and unit tests\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/274671813","html_url":"https://github.com/apache/spark/pull/15314#issuecomment-274671813","issue_url":"https://api.github.com/repos/apache/spark/issues/15314","id":274671813,"user":{"login":"jkbradley","id":5084283,"avatar_url":"https://avatars.githubusercontent.com/u/5084283?v=3","gravatar_id":"","url":"https://api.github.com/users/jkbradley","html_url":"https://github.com/jkbradley","followers_url":"https://api.github.com/users/jkbradley/followers","following_url":"https://api.github.com/users/jkbradley/following{/other_user}","gists_url":"https://api.github.com/users/jkbradley/gists{/gist_id}","starred_url":"https://api.github.com/users/jkbradley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkbradley/subscriptions","organizations_url":"https://api.github.com/users/jkbradley/orgs","repos_url":"https://api.github.com/users/jkbradley/repos","events_url":"https://api.github.com/users/jkbradley/events{/privacy}","received_events_url":"https://api.github.com/users/jkbradley/received_events","type":"User","site_admin":false},"created_at":"2017-01-24T01:18:12Z","updated_at":"2017-01-24T01:18:12Z","body":"Thanks @zhengruifeng and sorry for the delay.  Merging with master now\r\n"}}
{"actor":{"display_login":"jkbradley"}}