{"action":"closed","number":18,"pull_request":{"url":"https://api.github.com/repos/farr/skyarea/pulls/18","id":46336244,"html_url":"https://github.com/farr/skyarea/pull/18","diff_url":"https://github.com/farr/skyarea/pull/18.diff","patch_url":"https://github.com/farr/skyarea/pull/18.patch","issue_url":"https://api.github.com/repos/farr/skyarea/issues/18","number":18,"state":"closed","locked":false,"title":"Do not create empty clusters","user":{"login":"lpsinger","id":728407,"avatar_url":"https://avatars.githubusercontent.com/u/728407?v=3","gravatar_id":"","url":"https://api.github.com/users/lpsinger","html_url":"https://github.com/lpsinger","followers_url":"https://api.github.com/users/lpsinger/followers","following_url":"https://api.github.com/users/lpsinger/following{/other_user}","gists_url":"https://api.github.com/users/lpsinger/gists{/gist_id}","starred_url":"https://api.github.com/users/lpsinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpsinger/subscriptions","organizations_url":"https://api.github.com/users/lpsinger/orgs","repos_url":"https://api.github.com/users/lpsinger/repos","events_url":"https://api.github.com/users/lpsinger/events{/privacy}","received_events_url":"https://api.github.com/users/lpsinger/received_events","type":"User","site_admin":false},"body":"If the k-means algorithm generates clusters that contain fewer points than the number of degrees of freedom, then instead of creating empty clusters, omit those clusters.\r\n\r\nThis ensures that the clustered KDE data structure is picklable and eliminates a potential corner case that consumers of the clustered KDE would otherwise have to deal with.","created_at":"2015-09-29T21:44:26Z","updated_at":"2015-09-29T21:48:40Z","closed_at":"2015-09-29T21:48:40Z","merged_at":"2015-09-29T21:48:40Z","merge_commit_sha":"66517d98e31b3a2ea2646f5bb5b4fa6f6065fccc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/farr/skyarea/pulls/18/commits","review_comments_url":"https://api.github.com/repos/farr/skyarea/pulls/18/comments","review_comment_url":"https://api.github.com/repos/farr/skyarea/pulls/comments{/number}","comments_url":"https://api.github.com/repos/farr/skyarea/issues/18/comments","statuses_url":"https://api.github.com/repos/farr/skyarea/statuses/9d35f4ee8af14945ebd7c94a2fbe934a1008909c","head":{"label":"lpsinger:no_empty_clusters","ref":"no_empty_clusters","sha":"9d35f4ee8af14945ebd7c94a2fbe934a1008909c","user":{"login":"lpsinger","id":728407,"avatar_url":"https://avatars.githubusercontent.com/u/728407?v=3","gravatar_id":"","url":"https://api.github.com/users/lpsinger","html_url":"https://github.com/lpsinger","followers_url":"https://api.github.com/users/lpsinger/followers","following_url":"https://api.github.com/users/lpsinger/following{/other_user}","gists_url":"https://api.github.com/users/lpsinger/gists{/gist_id}","starred_url":"https://api.github.com/users/lpsinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpsinger/subscriptions","organizations_url":"https://api.github.com/users/lpsinger/orgs","repos_url":"https://api.github.com/users/lpsinger/repos","events_url":"https://api.github.com/users/lpsinger/events{/privacy}","received_events_url":"https://api.github.com/users/lpsinger/received_events","type":"User","site_admin":false},"repo":{"id":15150546,"name":"skyarea","full_name":"lpsinger/skyarea","owner":{"login":"lpsinger","id":728407,"avatar_url":"https://avatars.githubusercontent.com/u/728407?v=3","gravatar_id":"","url":"https://api.github.com/users/lpsinger","html_url":"https://github.com/lpsinger","followers_url":"https://api.github.com/users/lpsinger/followers","following_url":"https://api.github.com/users/lpsinger/following{/other_user}","gists_url":"https://api.github.com/users/lpsinger/gists{/gist_id}","starred_url":"https://api.github.com/users/lpsinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpsinger/subscriptions","organizations_url":"https://api.github.com/users/lpsinger/orgs","repos_url":"https://api.github.com/users/lpsinger/repos","events_url":"https://api.github.com/users/lpsinger/events{/privacy}","received_events_url":"https://api.github.com/users/lpsinger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lpsinger/skyarea","description":"Sky Areas","fork":true,"url":"https://api.github.com/repos/lpsinger/skyarea","forks_url":"https://api.github.com/repos/lpsinger/skyarea/forks","keys_url":"https://api.github.com/repos/lpsinger/skyarea/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lpsinger/skyarea/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lpsinger/skyarea/teams","hooks_url":"https://api.github.com/repos/lpsinger/skyarea/hooks","issue_events_url":"https://api.github.com/repos/lpsinger/skyarea/issues/events{/number}","events_url":"https://api.github.com/repos/lpsinger/skyarea/events","assignees_url":"https://api.github.com/repos/lpsinger/skyarea/assignees{/user}","branches_url":"https://api.github.com/repos/lpsinger/skyarea/branches{/branch}","tags_url":"https://api.github.com/repos/lpsinger/skyarea/tags","blobs_url":"https://api.github.com/repos/lpsinger/skyarea/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lpsinger/skyarea/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lpsinger/skyarea/git/refs{/sha}","trees_url":"https://api.github.com/repos/lpsinger/skyarea/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lpsinger/skyarea/statuses/{sha}","languages_url":"https://api.github.com/repos/lpsinger/skyarea/languages","stargazers_url":"https://api.github.com/repos/lpsinger/skyarea/stargazers","contributors_url":"https://api.github.com/repos/lpsinger/skyarea/contributors","subscribers_url":"https://api.github.com/repos/lpsinger/skyarea/subscribers","subscription_url":"https://api.github.com/repos/lpsinger/skyarea/subscription","commits_url":"https://api.github.com/repos/lpsinger/skyarea/commits{/sha}","git_commits_url":"https://api.github.com/repos/lpsinger/skyarea/git/commits{/sha}","comments_url":"https://api.github.com/repos/lpsinger/skyarea/comments{/number}","issue_comment_url":"https://api.github.com/repos/lpsinger/skyarea/issues/comments{/number}","contents_url":"https://api.github.com/repos/lpsinger/skyarea/contents/{+path}","compare_url":"https://api.github.com/repos/lpsinger/skyarea/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lpsinger/skyarea/merges","archive_url":"https://api.github.com/repos/lpsinger/skyarea/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lpsinger/skyarea/downloads","issues_url":"https://api.github.com/repos/lpsinger/skyarea/issues{/number}","pulls_url":"https://api.github.com/repos/lpsinger/skyarea/pulls{/number}","milestones_url":"https://api.github.com/repos/lpsinger/skyarea/milestones{/number}","notifications_url":"https://api.github.com/repos/lpsinger/skyarea/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lpsinger/skyarea/labels{/name}","releases_url":"https://api.github.com/repos/lpsinger/skyarea/releases{/id}","created_at":"2013-12-12T23:45:51Z","updated_at":"2015-04-01T14:04:01Z","pushed_at":"2015-09-29T21:44:04Z","git_url":"git://github.com/lpsinger/skyarea.git","ssh_url":"git@github.com:lpsinger/skyarea.git","clone_url":"https://github.com/lpsinger/skyarea.git","svn_url":"https://github.com/lpsinger/skyarea","homepage":null,"size":556,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"farr:master","ref":"master","sha":"e55a8ef657d23c9dd1060502b29e485905780b75","user":{"login":"farr","id":90048,"avatar_url":"https://avatars.githubusercontent.com/u/90048?v=3","gravatar_id":"","url":"https://api.github.com/users/farr","html_url":"https://github.com/farr","followers_url":"https://api.github.com/users/farr/followers","following_url":"https://api.github.com/users/farr/following{/other_user}","gists_url":"https://api.github.com/users/farr/gists{/gist_id}","starred_url":"https://api.github.com/users/farr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farr/subscriptions","organizations_url":"https://api.github.com/users/farr/orgs","repos_url":"https://api.github.com/users/farr/repos","events_url":"https://api.github.com/users/farr/events{/privacy}","received_events_url":"https://api.github.com/users/farr/received_events","type":"User","site_admin":false},"repo":{"id":14952499,"name":"skyarea","full_name":"farr/skyarea","owner":{"login":"farr","id":90048,"avatar_url":"https://avatars.githubusercontent.com/u/90048?v=3","gravatar_id":"","url":"https://api.github.com/users/farr","html_url":"https://github.com/farr","followers_url":"https://api.github.com/users/farr/followers","following_url":"https://api.github.com/users/farr/following{/other_user}","gists_url":"https://api.github.com/users/farr/gists{/gist_id}","starred_url":"https://api.github.com/users/farr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farr/subscriptions","organizations_url":"https://api.github.com/users/farr/orgs","repos_url":"https://api.github.com/users/farr/repos","events_url":"https://api.github.com/users/farr/events{/privacy}","received_events_url":"https://api.github.com/users/farr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/farr/skyarea","description":"Sky Areas","fork":false,"url":"https://api.github.com/repos/farr/skyarea","forks_url":"https://api.github.com/repos/farr/skyarea/forks","keys_url":"https://api.github.com/repos/farr/skyarea/keys{/key_id}","collaborators_url":"https://api.github.com/repos/farr/skyarea/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/farr/skyarea/teams","hooks_url":"https://api.github.com/repos/farr/skyarea/hooks","issue_events_url":"https://api.github.com/repos/farr/skyarea/issues/events{/number}","events_url":"https://api.github.com/repos/farr/skyarea/events","assignees_url":"https://api.github.com/repos/farr/skyarea/assignees{/user}","branches_url":"https://api.github.com/repos/farr/skyarea/branches{/branch}","tags_url":"https://api.github.com/repos/farr/skyarea/tags","blobs_url":"https://api.github.com/repos/farr/skyarea/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/farr/skyarea/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/farr/skyarea/git/refs{/sha}","trees_url":"https://api.github.com/repos/farr/skyarea/git/trees{/sha}","statuses_url":"https://api.github.com/repos/farr/skyarea/statuses/{sha}","languages_url":"https://api.github.com/repos/farr/skyarea/languages","stargazers_url":"https://api.github.com/repos/farr/skyarea/stargazers","contributors_url":"https://api.github.com/repos/farr/skyarea/contributors","subscribers_url":"https://api.github.com/repos/farr/skyarea/subscribers","subscription_url":"https://api.github.com/repos/farr/skyarea/subscription","commits_url":"https://api.github.com/repos/farr/skyarea/commits{/sha}","git_commits_url":"https://api.github.com/repos/farr/skyarea/git/commits{/sha}","comments_url":"https://api.github.com/repos/farr/skyarea/comments{/number}","issue_comment_url":"https://api.github.com/repos/farr/skyarea/issues/comments{/number}","contents_url":"https://api.github.com/repos/farr/skyarea/contents/{+path}","compare_url":"https://api.github.com/repos/farr/skyarea/compare/{base}...{head}","merges_url":"https://api.github.com/repos/farr/skyarea/merges","archive_url":"https://api.github.com/repos/farr/skyarea/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/farr/skyarea/downloads","issues_url":"https://api.github.com/repos/farr/skyarea/issues{/number}","pulls_url":"https://api.github.com/repos/farr/skyarea/pulls{/number}","milestones_url":"https://api.github.com/repos/farr/skyarea/milestones{/number}","notifications_url":"https://api.github.com/repos/farr/skyarea/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/farr/skyarea/labels{/name}","releases_url":"https://api.github.com/repos/farr/skyarea/releases{/id}","created_at":"2013-12-05T12:10:11Z","updated_at":"2015-04-01T14:00:52Z","pushed_at":"2015-09-29T21:48:40Z","git_url":"git://github.com/farr/skyarea.git","ssh_url":"git@github.com:farr/skyarea.git","clone_url":"https://github.com/farr/skyarea.git","svn_url":"https://github.com/farr/skyarea","homepage":null,"size":798,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/farr/skyarea/pulls/18"},"html":{"href":"https://github.com/farr/skyarea/pull/18"},"issue":{"href":"https://api.github.com/repos/farr/skyarea/issues/18"},"comments":{"href":"https://api.github.com/repos/farr/skyarea/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/farr/skyarea/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/farr/skyarea/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/farr/skyarea/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/farr/skyarea/statuses/9d35f4ee8af14945ebd7c94a2fbe934a1008909c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"farr","id":90048,"avatar_url":"https://avatars.githubusercontent.com/u/90048?v=3","gravatar_id":"","url":"https://api.github.com/users/farr","html_url":"https://github.com/farr","followers_url":"https://api.github.com/users/farr/followers","following_url":"https://api.github.com/users/farr/following{/other_user}","gists_url":"https://api.github.com/users/farr/gists{/gist_id}","starred_url":"https://api.github.com/users/farr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farr/subscriptions","organizations_url":"https://api.github.com/users/farr/orgs","repos_url":"https://api.github.com/users/farr/repos","events_url":"https://api.github.com/users/farr/events{/privacy}","received_events_url":"https://api.github.com/users/farr/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":9,"changed_files":1}}