{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/7278","labels_url":"https://api.github.com/repos/apache/spark/issues/7278/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/7278/comments","events_url":"https://api.github.com/repos/apache/spark/issues/7278/events","html_url":"https://github.com/apache/spark/pull/7278","id":93672170,"number":7278,"title":"[SPARK-8884] [MLlib] 1-sample Anderson-Darling Goodness-of-Fit test","user":{"login":"josepablocam","id":5097108,"avatar_url":"https://avatars.githubusercontent.com/u/5097108?v=3","gravatar_id":"","url":"https://api.github.com/users/josepablocam","html_url":"https://github.com/josepablocam","followers_url":"https://api.github.com/users/josepablocam/followers","following_url":"https://api.github.com/users/josepablocam/following{/other_user}","gists_url":"https://api.github.com/users/josepablocam/gists{/gist_id}","starred_url":"https://api.github.com/users/josepablocam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josepablocam/subscriptions","organizations_url":"https://api.github.com/users/josepablocam/orgs","repos_url":"https://api.github.com/users/josepablocam/repos","events_url":"https://api.github.com/users/josepablocam/events{/privacy}","received_events_url":"https://api.github.com/users/josepablocam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":42,"created_at":"2015-07-08T01:55:43Z","updated_at":"2015-07-23T18:36:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/7278","html_url":"https://github.com/apache/spark/pull/7278","diff_url":"https://github.com/apache/spark/pull/7278.diff","patch_url":"https://github.com/apache/spark/pull/7278.patch"},"body":"We have implemented a 1-sample Anderson-Darling goodness-of-fit test to add to the current hypothesis testing functionality. The current implementation supports various distributions (normal, exponential, gumbel, logistic, and weibull). However, users must provide distribution parameters for all except normal/exponential (in which case they are estimated from the data). In contrast to other tests, such as the Kolmogorov Smirnov test, we only support specific distributions as the critical values depend on the distribution being tested.\r\nThe distributed implementation of AD takes advantage of the fact that we can calculate a portion of the statistic within each partition of a sorted data set, independent of the global order of those observations. We can then carry some additional information that allows us to adjust the final amounts once we have collected 1 result per partition."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/124203219","html_url":"https://github.com/apache/spark/pull/7278#issuecomment-124203219","issue_url":"https://api.github.com/repos/apache/spark/issues/7278","id":124203219,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","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":"2015-07-23T18:36:28Z","updated_at":"2015-07-23T18:36:28Z","body":"  [Test build #38251 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/38251/console) for   PR 7278 at commit [`cc352f0`](https://github.com/apache/spark/commit/cc352f046608293e1595af44972834e8e2acdc3a).\n * This patch **passes all tests**.\n * This patch merges cleanly.\n * This patch adds no public classes."}}