{"action":"created","issue":{"url":"https://api.github.com/repos/FRosner/spawncamping-dds/issues/92","labels_url":"https://api.github.com/repos/FRosner/spawncamping-dds/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/FRosner/spawncamping-dds/issues/92/comments","events_url":"https://api.github.com/repos/FRosner/spawncamping-dds/issues/92/events","html_url":"https://github.com/FRosner/spawncamping-dds/issues/92","id":63229296,"number":92,"title":"Sturges formula to compute histogram bins automatically","user":{"login":"FRosner","id":3427394,"avatar_url":"https://avatars.githubusercontent.com/u/3427394?v=3","gravatar_id":"","url":"https://api.github.com/users/FRosner","html_url":"https://github.com/FRosner","followers_url":"https://api.github.com/users/FRosner/followers","following_url":"https://api.github.com/users/FRosner/following{/other_user}","gists_url":"https://api.github.com/users/FRosner/gists{/gist_id}","starred_url":"https://api.github.com/users/FRosner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FRosner/subscriptions","organizations_url":"https://api.github.com/users/FRosner/orgs","repos_url":"https://api.github.com/users/FRosner/repos","events_url":"https://api.github.com/users/FRosner/events{/privacy}","received_events_url":"https://api.github.com/users/FRosner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FRosner/spawncamping-dds/labels/Spark%20Core","name":"Spark Core","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"RPCMoritz","id":11137640,"avatar_url":"https://avatars.githubusercontent.com/u/11137640?v=3","gravatar_id":"","url":"https://api.github.com/users/RPCMoritz","html_url":"https://github.com/RPCMoritz","followers_url":"https://api.github.com/users/RPCMoritz/followers","following_url":"https://api.github.com/users/RPCMoritz/following{/other_user}","gists_url":"https://api.github.com/users/RPCMoritz/gists{/gist_id}","starred_url":"https://api.github.com/users/RPCMoritz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RPCMoritz/subscriptions","organizations_url":"https://api.github.com/users/RPCMoritz/orgs","repos_url":"https://api.github.com/users/RPCMoritz/repos","events_url":"https://api.github.com/users/RPCMoritz/events{/privacy}","received_events_url":"https://api.github.com/users/RPCMoritz/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/FRosner/spawncamping-dds/milestones/14","html_url":"https://github.com/FRosner/spawncamping-dds/milestones/2.1.0","labels_url":"https://api.github.com/repos/FRosner/spawncamping-dds/milestones/14/labels","id":1121500,"number":14,"title":"2.1.0","description":"","creator":{"login":"FRosner","id":3427394,"avatar_url":"https://avatars.githubusercontent.com/u/3427394?v=3","gravatar_id":"","url":"https://api.github.com/users/FRosner","html_url":"https://github.com/FRosner","followers_url":"https://api.github.com/users/FRosner/followers","following_url":"https://api.github.com/users/FRosner/following{/other_user}","gists_url":"https://api.github.com/users/FRosner/gists{/gist_id}","starred_url":"https://api.github.com/users/FRosner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FRosner/subscriptions","organizations_url":"https://api.github.com/users/FRosner/orgs","repos_url":"https://api.github.com/users/FRosner/repos","events_url":"https://api.github.com/users/FRosner/events{/privacy}","received_events_url":"https://api.github.com/users/FRosner/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":8,"state":"open","created_at":"2015-05-20T16:10:30Z","updated_at":"2015-06-26T07:19:10Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-03-20T13:29:48Z","updated_at":"2015-07-01T07:19:35Z","closed_at":null,"body":"**Description**\r\n\r\nThere should be a histogram function that only takes an RDD and automatically determines the \"optimal\" number of equal-width bins.\r\n\r\n**Signature**\r\n\r\n```scala\r\ndef histogram[N](values: RDD[N])(implicit num: Numeric[N])\r\n```\r\n\r\n**Formula**\r\n\r\nWe can use the Sturge's formula which assumes that the data is Gaussian distributed, so that the number of equal-width bins _k_ is given by\r\n\r\n![0ced64b52339ffcef5ecf9fe9f9d3c8e](https://cloud.githubusercontent.com/assets/3427394/6752283/5b2c1082-cf0d-11e4-89fe-d75fe4a78c2f.png)\r\n\r\n---\r\n\r\nRelates to: #91"},"comment":{"url":"https://api.github.com/repos/FRosner/spawncamping-dds/issues/comments/117498320","html_url":"https://github.com/FRosner/spawncamping-dds/issues/92#issuecomment-117498320","issue_url":"https://api.github.com/repos/FRosner/spawncamping-dds/issues/92","id":117498320,"user":{"login":"FRosner","id":3427394,"avatar_url":"https://avatars.githubusercontent.com/u/3427394?v=3","gravatar_id":"","url":"https://api.github.com/users/FRosner","html_url":"https://github.com/FRosner","followers_url":"https://api.github.com/users/FRosner/followers","following_url":"https://api.github.com/users/FRosner/following{/other_user}","gists_url":"https://api.github.com/users/FRosner/gists{/gist_id}","starred_url":"https://api.github.com/users/FRosner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FRosner/subscriptions","organizations_url":"https://api.github.com/users/FRosner/orgs","repos_url":"https://api.github.com/users/FRosner/repos","events_url":"https://api.github.com/users/FRosner/events{/privacy}","received_events_url":"https://api.github.com/users/FRosner/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T07:19:35Z","updated_at":"2015-07-01T07:19:35Z","body":"@RPCMoritz you can see my inline comments in https://github.com/FRosner/spawncamping-dds/pull/183/files"}}