{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4269","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4269/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4269/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4269/events","html_url":"https://github.com/scikit-learn/scikit-learn/pull/4269","id":58228075,"number":4269,"title":"[MRG] FIX: Fix n_components in AgglomerativeClustering and friends","user":{"login":"MechCoder","id":1867024,"avatar_url":"https://avatars.githubusercontent.com/u/1867024?v=3","gravatar_id":"","url":"https://api.github.com/users/MechCoder","html_url":"https://github.com/MechCoder","followers_url":"https://api.github.com/users/MechCoder/followers","following_url":"https://api.github.com/users/MechCoder/following{/other_user}","gists_url":"https://api.github.com/users/MechCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/MechCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MechCoder/subscriptions","organizations_url":"https://api.github.com/users/MechCoder/orgs","repos_url":"https://api.github.com/users/MechCoder/repos","events_url":"https://api.github.com/users/MechCoder/events{/privacy}","received_events_url":"https://api.github.com/users/MechCoder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-19T16:06:28Z","updated_at":"2015-02-20T13:42:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/4269","html_url":"https://github.com/scikit-learn/scikit-learn/pull/4269","diff_url":"https://github.com/scikit-learn/scikit-learn/pull/4269.diff","patch_url":"https://github.com/scikit-learn/scikit-learn/pull/4269.patch"},"body":"Fixes https://github.com/scikit-learn/scikit-learn/issues/3975\r\n\r\nThis PR does two things.\r\n1. The `n_components_` attribute was the one provided by the user and not the one actually present in the connectivity matrix.\r\n2. Deprecate the n_components parameter since it is always overwritten by the connected_components check."},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/75239372","html_url":"https://github.com/scikit-learn/scikit-learn/pull/4269#issuecomment-75239372","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4269","id":75239372,"user":{"login":"agramfort","id":161052,"avatar_url":"https://avatars.githubusercontent.com/u/161052?v=3","gravatar_id":"","url":"https://api.github.com/users/agramfort","html_url":"https://github.com/agramfort","followers_url":"https://api.github.com/users/agramfort/followers","following_url":"https://api.github.com/users/agramfort/following{/other_user}","gists_url":"https://api.github.com/users/agramfort/gists{/gist_id}","starred_url":"https://api.github.com/users/agramfort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agramfort/subscriptions","organizations_url":"https://api.github.com/users/agramfort/orgs","repos_url":"https://api.github.com/users/agramfort/repos","events_url":"https://api.github.com/users/agramfort/events{/privacy}","received_events_url":"https://api.github.com/users/agramfort/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T13:42:42Z","updated_at":"2015-02-20T13:42:42Z","body":"LGTM +1 for merge\r\n\r\nthanks @MechCoder "}}