{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6445","repository_url":"https://api.github.com/repos/scikit-learn/scikit-learn","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6445/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6445/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6445/events","html_url":"https://github.com/scikit-learn/scikit-learn/pull/6445","id":136082945,"number":6445,"title":"Add get_feature_names to PCA","user":{"login":"maniteja123","id":6291963,"avatar_url":"https://avatars.githubusercontent.com/u/6291963?v=3","gravatar_id":"","url":"https://api.github.com/users/maniteja123","html_url":"https://github.com/maniteja123","followers_url":"https://api.github.com/users/maniteja123/followers","following_url":"https://api.github.com/users/maniteja123/following{/other_user}","gists_url":"https://api.github.com/users/maniteja123/gists{/gist_id}","starred_url":"https://api.github.com/users/maniteja123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maniteja123/subscriptions","organizations_url":"https://api.github.com/users/maniteja123/orgs","repos_url":"https://api.github.com/users/maniteja123/repos","events_url":"https://api.github.com/users/maniteja123/events{/privacy}","received_events_url":"https://api.github.com/users/maniteja123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2016-02-24T14:50:16Z","updated_at":"2016-03-09T03:24:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/6445","html_url":"https://github.com/scikit-learn/scikit-learn/pull/6445","diff_url":"https://github.com/scikit-learn/scikit-learn/pull/6445.diff","patch_url":"https://github.com/scikit-learn/scikit-learn/pull/6445.patch"},"body":"Attempt to add get_feature_names to PCA as suggested in #6425 .\r\nThe present idea is to take the input feature with the most variance along the component. But it doesn't consider the importance of the component. It definitely seems that the present approach can be modified to accommodate the significance of the components.\r\nPlease let me know about the best way to move forward here. Thanks!"},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/194096562","html_url":"https://github.com/scikit-learn/scikit-learn/pull/6445#issuecomment-194096562","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6445","id":194096562,"user":{"login":"maniteja123","id":6291963,"avatar_url":"https://avatars.githubusercontent.com/u/6291963?v=3","gravatar_id":"","url":"https://api.github.com/users/maniteja123","html_url":"https://github.com/maniteja123","followers_url":"https://api.github.com/users/maniteja123/followers","following_url":"https://api.github.com/users/maniteja123/following{/other_user}","gists_url":"https://api.github.com/users/maniteja123/gists{/gist_id}","starred_url":"https://api.github.com/users/maniteja123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maniteja123/subscriptions","organizations_url":"https://api.github.com/users/maniteja123/orgs","repos_url":"https://api.github.com/users/maniteja123/repos","events_url":"https://api.github.com/users/maniteja123/events{/privacy}","received_events_url":"https://api.github.com/users/maniteja123/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T03:24:20Z","updated_at":"2016-03-09T03:24:20Z","body":"@jnothman I have done the changes and also raised meaningful errors when ``show_coef`` is less than 1 or greater than n_features. Please let me know if you have any more suggestions. Thanks."}}