{"action":"created","issue":{"url":"https://api.github.com/repos/Lasagne/Lasagne/issues/596","repository_url":"https://api.github.com/repos/Lasagne/Lasagne","labels_url":"https://api.github.com/repos/Lasagne/Lasagne/issues/596/labels{/name}","comments_url":"https://api.github.com/repos/Lasagne/Lasagne/issues/596/comments","events_url":"https://api.github.com/repos/Lasagne/Lasagne/issues/596/events","html_url":"https://github.com/Lasagne/Lasagne/pull/596","id":130860802,"number":596,"title":"Sparse input to Lasagne","user":{"login":"eduardo4jesus","id":3452529,"avatar_url":"https://avatars.githubusercontent.com/u/3452529?v=3","gravatar_id":"","url":"https://api.github.com/users/eduardo4jesus","html_url":"https://github.com/eduardo4jesus","followers_url":"https://api.github.com/users/eduardo4jesus/followers","following_url":"https://api.github.com/users/eduardo4jesus/following{/other_user}","gists_url":"https://api.github.com/users/eduardo4jesus/gists{/gist_id}","starred_url":"https://api.github.com/users/eduardo4jesus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduardo4jesus/subscriptions","organizations_url":"https://api.github.com/users/eduardo4jesus/orgs","repos_url":"https://api.github.com/users/eduardo4jesus/repos","events_url":"https://api.github.com/users/eduardo4jesus/events{/privacy}","received_events_url":"https://api.github.com/users/eduardo4jesus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-03T00:04:01Z","updated_at":"2016-05-12T16:29:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Lasagne/Lasagne/pulls/596","html_url":"https://github.com/Lasagne/Lasagne/pull/596","diff_url":"https://github.com/Lasagne/Lasagne/pull/596.diff","patch_url":"https://github.com/Lasagne/Lasagne/pull/596.patch"},"body":"Recently, I started to work with sparse data. Then I found lasagne, a very easy-to-use and handful module. However, it didn't support sparse input for networks. I started to make some small tweaks to `lasagne.layers.DenseLayer` and `lasagne.layers.DropoutLayer` to get it working with the `MLP` from MNIST example. Later, I found that other people might find it useful as well, [Sparse input to Lasagne #317](https://github.com/Lasagne/Lasagne/issues/317).\r\n\r\nA couple days ago I did a pull request of these changes. See [Sparse input to Lasagne #595] (https://github.com/Lasagne/Lasagne/pull/595). After getting nice feedbacks, I am submitting it again for the community analysis.\r\n\r\nChanges:\r\n- A sparse submodule was introduced: `lasagne.layers.sparse`\r\n- Two new classes were added, `lasagne.layers.sparse.DenseLayer` and `lasagne.layers.sparse.DropoutLayer`, that extend from `lasagne.layers.DenseLayer` and `lasagne.layers.DropoutLayer`, respectively. Both classes just overrides the `get_output_for(  )` in order to use sparse matrices instead of `theano.tensor`."},"comment":{"url":"https://api.github.com/repos/Lasagne/Lasagne/issues/comments/218811827","html_url":"https://github.com/Lasagne/Lasagne/pull/596#issuecomment-218811827","issue_url":"https://api.github.com/repos/Lasagne/Lasagne/issues/596","id":218811827,"user":{"login":"f0k","id":629706,"avatar_url":"https://avatars.githubusercontent.com/u/629706?v=3","gravatar_id":"","url":"https://api.github.com/users/f0k","html_url":"https://github.com/f0k","followers_url":"https://api.github.com/users/f0k/followers","following_url":"https://api.github.com/users/f0k/following{/other_user}","gists_url":"https://api.github.com/users/f0k/gists{/gist_id}","starred_url":"https://api.github.com/users/f0k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f0k/subscriptions","organizations_url":"https://api.github.com/users/f0k/orgs","repos_url":"https://api.github.com/users/f0k/repos","events_url":"https://api.github.com/users/f0k/events{/privacy}","received_events_url":"https://api.github.com/users/f0k/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T16:29:36Z","updated_at":"2016-05-12T16:29:36Z","body":"A new PR is fine!"}}