{"action":"created","issue":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/2796","labels_url":"https://api.github.com/repos/mne-tools/mne-python/issues/2796/labels{/name}","comments_url":"https://api.github.com/repos/mne-tools/mne-python/issues/2796/comments","events_url":"https://api.github.com/repos/mne-tools/mne-python/issues/2796/events","html_url":"https://github.com/mne-tools/mne-python/issues/2796","id":127506043,"number":2796,"title":"ENH: encoding models","user":{"login":"choldgraf","id":1839645,"avatar_url":"https://avatars.githubusercontent.com/u/1839645?v=3","gravatar_id":"","url":"https://api.github.com/users/choldgraf","html_url":"https://github.com/choldgraf","followers_url":"https://api.github.com/users/choldgraf/followers","following_url":"https://api.github.com/users/choldgraf/following{/other_user}","gists_url":"https://api.github.com/users/choldgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/choldgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choldgraf/subscriptions","organizations_url":"https://api.github.com/users/choldgraf/orgs","repos_url":"https://api.github.com/users/choldgraf/repos","events_url":"https://api.github.com/users/choldgraf/events{/privacy}","received_events_url":"https://api.github.com/users/choldgraf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2016-01-19T18:15:26Z","updated_at":"2016-01-19T19:08:24Z","closed_at":"2016-01-19T18:35:52Z","body":"Most of what I've been working on for my thesis has been so-called \"encoding\" models of electrode activity. This is quite similar to the decoding models already implemented in MNE, but where the output is the electrode activity, and inputs are time-lagged stimulus features. Is this something that would be useful to have in MNE?\r\n\r\nI don't think it'll need to be as complicated as the decoding module because there isn't generalization across time etc, but I'm thinking of having a similar structure where you supply an epochs-like object and a tmin/tmax to pull specific times.\r\n\r\nThe output would be a list of regression models and the user could pull coefficients from these are necessary. It would rely heavily on scikit-learn throughout.\r\n\r\nLet me know if this might be of interest and I can think up how it'd look in more detail if so."},"comment":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/comments/172954217","html_url":"https://github.com/mne-tools/mne-python/issues/2796#issuecomment-172954217","issue_url":"https://api.github.com/repos/mne-tools/mne-python/issues/2796","id":172954217,"user":{"login":"Eric89GXL","id":2365790,"avatar_url":"https://avatars.githubusercontent.com/u/2365790?v=3","gravatar_id":"","url":"https://api.github.com/users/Eric89GXL","html_url":"https://github.com/Eric89GXL","followers_url":"https://api.github.com/users/Eric89GXL/followers","following_url":"https://api.github.com/users/Eric89GXL/following{/other_user}","gists_url":"https://api.github.com/users/Eric89GXL/gists{/gist_id}","starred_url":"https://api.github.com/users/Eric89GXL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eric89GXL/subscriptions","organizations_url":"https://api.github.com/users/Eric89GXL/orgs","repos_url":"https://api.github.com/users/Eric89GXL/repos","events_url":"https://api.github.com/users/Eric89GXL/events{/privacy}","received_events_url":"https://api.github.com/users/Eric89GXL/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T19:08:23Z","updated_at":"2016-01-19T19:08:23Z","body":"@jasmainak the code @rkmaddox linked to above actually has a `demo.py` file that uses random data. That could be a start."}}