{"action":"created","issue":{"url":"https://api.github.com/repos/astroML/astroML/issues/77","labels_url":"https://api.github.com/repos/astroML/astroML/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/astroML/astroML/issues/77/comments","events_url":"https://api.github.com/repos/astroML/astroML/issues/77/events","html_url":"https://github.com/astroML/astroML/pull/77","id":110136537,"number":77,"title":"in sklearn 0.14+ Setting compute_importances=True is no longer required in sklearn.tree.DecisionTreeClassifier","user":{"login":"richardgmcmahon","id":2388403,"avatar_url":"https://avatars.githubusercontent.com/u/2388403?v=3","gravatar_id":"","url":"https://api.github.com/users/richardgmcmahon","html_url":"https://github.com/richardgmcmahon","followers_url":"https://api.github.com/users/richardgmcmahon/followers","following_url":"https://api.github.com/users/richardgmcmahon/following{/other_user}","gists_url":"https://api.github.com/users/richardgmcmahon/gists{/gist_id}","starred_url":"https://api.github.com/users/richardgmcmahon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardgmcmahon/subscriptions","organizations_url":"https://api.github.com/users/richardgmcmahon/orgs","repos_url":"https://api.github.com/users/richardgmcmahon/repos","events_url":"https://api.github.com/users/richardgmcmahon/events{/privacy}","received_events_url":"https://api.github.com/users/richardgmcmahon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-07T01:43:14Z","updated_at":"2015-10-07T14:38:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/astroML/astroML/pulls/77","html_url":"https://github.com/astroML/astroML/pull/77","diff_url":"https://github.com/astroML/astroML/pull/77.diff","patch_url":"https://github.com/astroML/astroML/pull/77.patch"},"body":"in sklearn 0.14+ Setting compute_importances=True is no longer required in sklearn.tree.DecisionTreeClassifier\r\n\r\nI am a newbie to forking and pulling but fig_rrlyrae_treevis.py was crashing with the error:\r\n\r\nsklearn.__version__:  0.16.1\r\nastroML.__version__:  0.3\r\n\r\n File \"fig_rrlyrae_treevis.py\", line 242, in <module>\r\n    random_state=0, criterion='entropy')\r\nTypeError: __init__() got an unexpected keyword argument 'compute_importances'\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/astroML/astroML/issues/comments/146214740","html_url":"https://github.com/astroML/astroML/pull/77#issuecomment-146214740","issue_url":"https://api.github.com/repos/astroML/astroML/issues/77","id":146214740,"user":{"login":"jakevdp","id":781659,"avatar_url":"https://avatars.githubusercontent.com/u/781659?v=3","gravatar_id":"","url":"https://api.github.com/users/jakevdp","html_url":"https://github.com/jakevdp","followers_url":"https://api.github.com/users/jakevdp/followers","following_url":"https://api.github.com/users/jakevdp/following{/other_user}","gists_url":"https://api.github.com/users/jakevdp/gists{/gist_id}","starred_url":"https://api.github.com/users/jakevdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakevdp/subscriptions","organizations_url":"https://api.github.com/users/jakevdp/orgs","repos_url":"https://api.github.com/users/jakevdp/repos","events_url":"https://api.github.com/users/jakevdp/events{/privacy}","received_events_url":"https://api.github.com/users/jakevdp/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T14:38:47Z","updated_at":"2015-10-07T14:38:47Z","body":"One more thing: a raw ``except`` is not a desirable thing! Can you change it to ``except ValueError`` or ``except TypeError`` (whichever is appropriate)? Thanks."}}