{"action":"created","issue":{"url":"https://api.github.com/repos/dnouri/nolearn/issues/162","labels_url":"https://api.github.com/repos/dnouri/nolearn/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/dnouri/nolearn/issues/162/comments","events_url":"https://api.github.com/repos/dnouri/nolearn/issues/162/events","html_url":"https://github.com/dnouri/nolearn/pull/162","id":110853225,"number":162,"title":"TrainSplit eval_size can be set during init as train_split_eval_size.","user":{"login":"BenjaminBossan","id":6229650,"avatar_url":"https://avatars.githubusercontent.com/u/6229650?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjaminBossan","html_url":"https://github.com/BenjaminBossan","followers_url":"https://api.github.com/users/BenjaminBossan/followers","following_url":"https://api.github.com/users/BenjaminBossan/following{/other_user}","gists_url":"https://api.github.com/users/BenjaminBossan/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjaminBossan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjaminBossan/subscriptions","organizations_url":"https://api.github.com/users/BenjaminBossan/orgs","repos_url":"https://api.github.com/users/BenjaminBossan/repos","events_url":"https://api.github.com/users/BenjaminBossan/events{/privacy}","received_events_url":"https://api.github.com/users/BenjaminBossan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-11T12:32:44Z","updated_at":"2015-10-29T18:29:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dnouri/nolearn/pulls/162","html_url":"https://github.com/dnouri/nolearn/pull/162","diff_url":"https://github.com/dnouri/nolearn/pull/162.diff","patch_url":"https://github.com/dnouri/nolearn/pull/162.patch"},"body":"To change the `eval_size` of `TrainSplit`, it is no longer necessary to import it first. Instead of\r\n\r\n```\r\nfrom nolearn.lasagne import TrainSplit\r\nnet = NeuralNet(..., train_split=TrainSplit(eval_size=0), ...)\r\n```\r\n\r\nit is now possible to do:\r\n\r\n```\r\nnet = NeuralNet(..., train_split_eval_size=0, ...)\r\n```\r\n\r\nThis is consistent with setting other parameters, such as those of layers or of `objective`. The old way should still be possible, though."},"comment":{"url":"https://api.github.com/repos/dnouri/nolearn/issues/comments/152276561","html_url":"https://github.com/dnouri/nolearn/pull/162#issuecomment-152276561","issue_url":"https://api.github.com/repos/dnouri/nolearn/issues/162","id":152276561,"user":{"login":"dnouri","id":56370,"avatar_url":"https://avatars.githubusercontent.com/u/56370?v=3","gravatar_id":"","url":"https://api.github.com/users/dnouri","html_url":"https://github.com/dnouri","followers_url":"https://api.github.com/users/dnouri/followers","following_url":"https://api.github.com/users/dnouri/following{/other_user}","gists_url":"https://api.github.com/users/dnouri/gists{/gist_id}","starred_url":"https://api.github.com/users/dnouri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnouri/subscriptions","organizations_url":"https://api.github.com/users/dnouri/orgs","repos_url":"https://api.github.com/users/dnouri/repos","events_url":"https://api.github.com/users/dnouri/events{/privacy}","received_events_url":"https://api.github.com/users/dnouri/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T18:29:13Z","updated_at":"2015-10-29T18:29:13Z","body":"I'm afraid there is no clear line.  :-/"}}