{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/21081","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/21081/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/21081/comments","events_url":"https://api.github.com/repos/apache/spark/issues/21081/events","html_url":"https://github.com/apache/spark/pull/21081","id":314759366,"number":21081,"title":"[SPARK-23975][ML]Allow Clustering to take Arrays of Double as input features","user":{"login":"ludatabricks","id":38018689,"avatar_url":"https://avatars1.githubusercontent.com/u/38018689?v=4","gravatar_id":"","url":"https://api.github.com/users/ludatabricks","html_url":"https://github.com/ludatabricks","followers_url":"https://api.github.com/users/ludatabricks/followers","following_url":"https://api.github.com/users/ludatabricks/following{/other_user}","gists_url":"https://api.github.com/users/ludatabricks/gists{/gist_id}","starred_url":"https://api.github.com/users/ludatabricks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludatabricks/subscriptions","organizations_url":"https://api.github.com/users/ludatabricks/orgs","repos_url":"https://api.github.com/users/ludatabricks/repos","events_url":"https://api.github.com/users/ludatabricks/events{/privacy}","received_events_url":"https://api.github.com/users/ludatabricks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-04-16T18:00:43Z","updated_at":"2018-04-23T20:33:02Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/21081","html_url":"https://github.com/apache/spark/pull/21081","diff_url":"https://github.com/apache/spark/pull/21081.diff","patch_url":"https://github.com/apache/spark/pull/21081.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\n- Multiple possible input types is added in validateAndTransformSchema() and computeCost() while checking column type\r\n\r\n- Add if statement in transform() to support array type as featuresCol\r\n\r\n- Add the case statement in fit() while selecting columns from dataset\r\n\r\nThese changes will be applied to KMeans first, then to other clustering method\r\n\r\n## How was this patch tested?\r\n\r\nunit test is added\r\n\r\nPlease review http://spark.apache.org/contributing.html before opening a pull request.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/383713185","html_url":"https://github.com/apache/spark/pull/21081#issuecomment-383713185","issue_url":"https://api.github.com/repos/apache/spark/issues/21081","id":383713185,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars1.githubusercontent.com/u/8108735?v=4","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":"2018-04-23T20:33:02Z","updated_at":"2018-04-23T20:33:02Z","author_association":"NONE","body":"**[Test build #89738 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/89738/testReport)** for PR 21081 at commit [`fee36ad`](https://github.com/apache/spark/commit/fee36ad2deaa013c8fa61cae399a274cd7681fa9)."}}
{"actor":{"display_login":"SparkQA"}}