{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/22076","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/22076/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/22076/comments","events_url":"https://api.github.com/repos/apache/spark/issues/22076/events","html_url":"https://github.com/apache/spark/pull/22076","id":349723000,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3NzY4NDE0","number":22076,"title":"[SPARK-25090][ML] Enforce implicit type coercion in ParamGridBuilder","user":{"login":"mgaido91","id":8821783,"node_id":"MDQ6VXNlcjg4MjE3ODM=","avatar_url":"https://avatars1.githubusercontent.com/u/8821783?v=4","gravatar_id":"","url":"https://api.github.com/users/mgaido91","html_url":"https://github.com/mgaido91","followers_url":"https://api.github.com/users/mgaido91/followers","following_url":"https://api.github.com/users/mgaido91/following{/other_user}","gists_url":"https://api.github.com/users/mgaido91/gists{/gist_id}","starred_url":"https://api.github.com/users/mgaido91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgaido91/subscriptions","organizations_url":"https://api.github.com/users/mgaido91/orgs","repos_url":"https://api.github.com/users/mgaido91/repos","events_url":"https://api.github.com/users/mgaido91/events{/privacy}","received_events_url":"https://api.github.com/users/mgaido91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-11T10:17:25Z","updated_at":"2018-08-11T11:31:56Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/22076","html_url":"https://github.com/apache/spark/pull/22076","diff_url":"https://github.com/apache/spark/pull/22076.diff","patch_url":"https://github.com/apache/spark/pull/22076.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nWhen the grid of the parameters is created in `ParamGridBuilder`, the implicit type coercion is not enforced. So using an integer in the list of parameters to set for a parameter accepting a double can cause a class cast exception.\r\n\r\nThe PR proposes to enforce the type coercion when building the parameters.\r\n\r\n## How was this patch tested?\r\n\r\nadded UT"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/412269397","html_url":"https://github.com/apache/spark/pull/22076#issuecomment-412269397","issue_url":"https://api.github.com/repos/apache/spark/issues/22076","id":412269397,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjI2OTM5Nw==","user":{"login":"mgaido91","id":8821783,"node_id":"MDQ6VXNlcjg4MjE3ODM=","avatar_url":"https://avatars1.githubusercontent.com/u/8821783?v=4","gravatar_id":"","url":"https://api.github.com/users/mgaido91","html_url":"https://github.com/mgaido91","followers_url":"https://api.github.com/users/mgaido91/followers","following_url":"https://api.github.com/users/mgaido91/following{/other_user}","gists_url":"https://api.github.com/users/mgaido91/gists{/gist_id}","starred_url":"https://api.github.com/users/mgaido91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgaido91/subscriptions","organizations_url":"https://api.github.com/users/mgaido91/orgs","repos_url":"https://api.github.com/users/mgaido91/repos","events_url":"https://api.github.com/users/mgaido91/events{/privacy}","received_events_url":"https://api.github.com/users/mgaido91/received_events","type":"User","site_admin":false},"created_at":"2018-08-11T11:31:56Z","updated_at":"2018-08-11T11:31:56Z","author_association":"CONTRIBUTOR","body":"cc @BryanCutler @HyukjinKwon @holdenk "}}
{"actor":{"display_login":"mgaido91"}}