{"action":"closed","issue":{"url":"https://api.github.com/repos/nilearn/nilearn/issues/772","labels_url":"https://api.github.com/repos/nilearn/nilearn/issues/772/labels{/name}","comments_url":"https://api.github.com/repos/nilearn/nilearn/issues/772/comments","events_url":"https://api.github.com/repos/nilearn/nilearn/issues/772/events","html_url":"https://github.com/nilearn/nilearn/issues/772","id":104405308,"number":772,"title":"Misleading (wrong?) code in Oasis VBM example","user":{"login":"GaelVaroquaux","id":208217,"avatar_url":"https://avatars.githubusercontent.com/u/208217?v=3","gravatar_id":"","url":"https://api.github.com/users/GaelVaroquaux","html_url":"https://github.com/GaelVaroquaux","followers_url":"https://api.github.com/users/GaelVaroquaux/followers","following_url":"https://api.github.com/users/GaelVaroquaux/following{/other_user}","gists_url":"https://api.github.com/users/GaelVaroquaux/gists{/gist_id}","starred_url":"https://api.github.com/users/GaelVaroquaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaelVaroquaux/subscriptions","organizations_url":"https://api.github.com/users/GaelVaroquaux/orgs","repos_url":"https://api.github.com/users/GaelVaroquaux/repos","events_url":"https://api.github.com/users/GaelVaroquaux/events{/privacy}","received_events_url":"https://api.github.com/users/GaelVaroquaux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nilearn/nilearn/labels/Bug","name":"Bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/nilearn/nilearn/milestones/4","html_url":"https://github.com/nilearn/nilearn/milestones/0.2","labels_url":"https://api.github.com/repos/nilearn/nilearn/milestones/4/labels","id":624840,"number":4,"title":"0.2","description":null,"creator":{"login":"GaelVaroquaux","id":208217,"avatar_url":"https://avatars.githubusercontent.com/u/208217?v=3","gravatar_id":"","url":"https://api.github.com/users/GaelVaroquaux","html_url":"https://github.com/GaelVaroquaux","followers_url":"https://api.github.com/users/GaelVaroquaux/followers","following_url":"https://api.github.com/users/GaelVaroquaux/following{/other_user}","gists_url":"https://api.github.com/users/GaelVaroquaux/gists{/gist_id}","starred_url":"https://api.github.com/users/GaelVaroquaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaelVaroquaux/subscriptions","organizations_url":"https://api.github.com/users/GaelVaroquaux/orgs","repos_url":"https://api.github.com/users/GaelVaroquaux/repos","events_url":"https://api.github.com/users/GaelVaroquaux/events{/privacy}","received_events_url":"https://api.github.com/users/GaelVaroquaux/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":4,"state":"open","created_at":"2014-04-09T08:09:54Z","updated_at":"2015-09-02T08:40:03Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-09-02T05:33:59Z","updated_at":"2015-09-02T08:40:03Z","closed_at":"2015-09-02T08:40:03Z","body":"As pointed out on http://neurostars.org/p/3388/, the Oasis VBM code applies the NiftiMasker twice, and thus ends up smoothing the data twice.\r\n\r\nIt does that to do screening of low variance features. I think that the right way to do this would be to use a sklearn.feature_selection.VarianceThreshold in the pipeline."}}