{"action":"created","issue":{"url":"https://api.github.com/repos/Lasagne/Lasagne/issues/409","labels_url":"https://api.github.com/repos/Lasagne/Lasagne/issues/409/labels{/name}","comments_url":"https://api.github.com/repos/Lasagne/Lasagne/issues/409/comments","events_url":"https://api.github.com/repos/Lasagne/Lasagne/issues/409/events","html_url":"https://github.com/Lasagne/Lasagne/pull/409","id":105366587,"number":409,"title":"Added an option for scaling of the tanh nonlinearity.","user":{"login":"Botev","id":1889878,"avatar_url":"https://avatars.githubusercontent.com/u/1889878?v=3","gravatar_id":"","url":"https://api.github.com/users/Botev","html_url":"https://github.com/Botev","followers_url":"https://api.github.com/users/Botev/followers","following_url":"https://api.github.com/users/Botev/following{/other_user}","gists_url":"https://api.github.com/users/Botev/gists{/gist_id}","starred_url":"https://api.github.com/users/Botev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Botev/subscriptions","organizations_url":"https://api.github.com/users/Botev/orgs","repos_url":"https://api.github.com/users/Botev/repos","events_url":"https://api.github.com/users/Botev/events{/privacy}","received_events_url":"https://api.github.com/users/Botev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-08T12:14:07Z","updated_at":"2015-09-09T19:31:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Lasagne/Lasagne/pulls/409","html_url":"https://github.com/Lasagne/Lasagne/pull/409","diff_url":"https://github.com/Lasagne/Lasagne/pull/409.diff","patch_url":"https://github.com/Lasagne/Lasagne/pull/409.patch"},"body":"I'm not sure how popular this is, but we do it a lot in my lab. It's a very synthetic change.\r\nIf it is accepted can implement similar for the sigmoid. Also usefull if you need directly your output to be in range different than [-1,1]"},"comment":{"url":"https://api.github.com/repos/Lasagne/Lasagne/issues/comments/139022768","html_url":"https://github.com/Lasagne/Lasagne/pull/409#issuecomment-139022768","issue_url":"https://api.github.com/repos/Lasagne/Lasagne/issues/409","id":139022768,"user":{"login":"Botev","id":1889878,"avatar_url":"https://avatars.githubusercontent.com/u/1889878?v=3","gravatar_id":"","url":"https://api.github.com/users/Botev","html_url":"https://github.com/Botev","followers_url":"https://api.github.com/users/Botev/followers","following_url":"https://api.github.com/users/Botev/following{/other_user}","gists_url":"https://api.github.com/users/Botev/gists{/gist_id}","starred_url":"https://api.github.com/users/Botev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Botev/subscriptions","organizations_url":"https://api.github.com/users/Botev/orgs","repos_url":"https://api.github.com/users/Botev/repos","events_url":"https://api.github.com/users/Botev/events{/privacy}","received_events_url":"https://api.github.com/users/Botev/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T19:31:01Z","updated_at":"2015-09-09T19:31:01Z","body":"These ones are just derived by passing a random normal or uniform with mean 0 and variance 1 trough the `tanh` and emeprically measuring the correct constant (in fact for the uniform you can find analytical formula). \r\n\r\nAs for the testing, so I did everything as the instruction. I can verify that my install is editable (as I already used it in other repository). Now you must excuse me cause earlier I was developing in Matlab and Rust so I'm not too familiar with the Python test chain. Currently I get:\r\n`py.test: error: unrecognized arguments: --cov=lasagne --cov-report=term-missing --pep8`\r\nAny idea how to fix it (if I happen to contribute to Lasagne again)?"}}