{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/5517","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/5517/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/5517/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/5517/events","html_url":"https://github.com/scikit-learn/scikit-learn/pull/5517","id":112627462,"number":5517,"title":"[MRG] Use super rather than calls to base class methods","user":{"login":"lesteve","id":1680079,"avatar_url":"https://avatars.githubusercontent.com/u/1680079?v=3","gravatar_id":"","url":"https://api.github.com/users/lesteve","html_url":"https://github.com/lesteve","followers_url":"https://api.github.com/users/lesteve/followers","following_url":"https://api.github.com/users/lesteve/following{/other_user}","gists_url":"https://api.github.com/users/lesteve/gists{/gist_id}","starred_url":"https://api.github.com/users/lesteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesteve/subscriptions","organizations_url":"https://api.github.com/users/lesteve/orgs","repos_url":"https://api.github.com/users/lesteve/repos","events_url":"https://api.github.com/users/lesteve/events{/privacy}","received_events_url":"https://api.github.com/users/lesteve/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-21T16:22:44Z","updated_at":"2015-10-22T16:30:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/5517","html_url":"https://github.com/scikit-learn/scikit-learn/pull/5517","diff_url":"https://github.com/scikit-learn/scikit-learn/pull/5517.diff","patch_url":"https://github.com/scikit-learn/scikit-learn/pull/5517.patch"},"body":"Fixes #5205.\r\n\r\nRemaining non-super calls:\r\n\r\n```\r\n❯ git grep \"\\.__init__(self\" -- `git ls-files | grep -vP \"utils|externals|sphinxext\"`\r\nexamples/applications/plot_out_of_core_classification.py:        html_parser.HTMLParser.__init__(self)\r\nexamples/svm/plot_rbf_parameters.py:        Normalize.__init__(self, vmin, vmax, clip)\r\nsklearn/covariance/outlier_detection.py:        MinCovDet.__init__(self, store_precision=store_precision,\r\nsklearn/covariance/outlier_detection.py:        OutlierDetectionMixin.__init__(self, contamination=contamination)\r\n```\r\nThe outlier_detection need to stay I reckon because you need to call `__init__` for two of the base classes.\r\n\r\nNot sure if we want to fix the examples too."},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/150281045","html_url":"https://github.com/scikit-learn/scikit-learn/pull/5517#issuecomment-150281045","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/5517","id":150281045,"user":{"login":"amueller","id":449558,"avatar_url":"https://avatars.githubusercontent.com/u/449558?v=3","gravatar_id":"","url":"https://api.github.com/users/amueller","html_url":"https://github.com/amueller","followers_url":"https://api.github.com/users/amueller/followers","following_url":"https://api.github.com/users/amueller/following{/other_user}","gists_url":"https://api.github.com/users/amueller/gists{/gist_id}","starred_url":"https://api.github.com/users/amueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amueller/subscriptions","organizations_url":"https://api.github.com/users/amueller/orgs","repos_url":"https://api.github.com/users/amueller/repos","events_url":"https://api.github.com/users/amueller/events{/privacy}","received_events_url":"https://api.github.com/users/amueller/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T16:30:17Z","updated_at":"2015-10-22T16:30:17Z","body":"LGTM"}}