{"action":"created","comment":{"url":"https://api.github.com/repos/rdevon/cortex/pulls/comments/67378733","id":67378733,"diff_hunk":"@@ -83,16 +83,15 @@ def _cost(module):\n     updates = theano.OrderedUpdates()\n     constants = []\n \n-    # l2_decay is likely wrong\n     l2_decay = module.l2_decay\n     if l2_decay is not False and l2_decay > 0.:\n-        print 'Adding %.5f L2 weight decay' % l2_decay\n+        module.logger.info('Adding %.5f L2 weight decay' % l2_decay)\n         l2_rval = model.l2_decay(l2_decay)\n         l2_cost = l2_rval.pop('cost')\n         cost += l2_cost\n         results['l2_cost'] = l2_cost\n \n-    results['error'] = (Y * (1 - p)).sum(axis=1).mean()\n+    results['sum log p(x | y)'] = (Y * (1 - p)).sum(axis=1).mean()","path":"cortex/demos/demos_basic/mlp_mnist.py","position":null,"original_position":15,"commit_id":"379918a393c65617860b66357171265fe0820091","original_commit_id":"379918a393c65617860b66357171265fe0820091","user":{"login":"rdevon","id":2036414,"avatar_url":"https://avatars.githubusercontent.com/u/2036414?v=3","gravatar_id":"","url":"https://api.github.com/users/rdevon","html_url":"https://github.com/rdevon","followers_url":"https://api.github.com/users/rdevon/followers","following_url":"https://api.github.com/users/rdevon/following{/other_user}","gists_url":"https://api.github.com/users/rdevon/gists{/gist_id}","starred_url":"https://api.github.com/users/rdevon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdevon/subscriptions","organizations_url":"https://api.github.com/users/rdevon/orgs","repos_url":"https://api.github.com/users/rdevon/repos","events_url":"https://api.github.com/users/rdevon/events{/privacy}","received_events_url":"https://api.github.com/users/rdevon/received_events","type":"User","site_admin":false},"body":"Apparently, I can't edit.\r\nI meant:\r\nkeep 94 to `error`\r\nmake `base cost` to be `-sum log p(x | y)` (with the negative sign)","created_at":"2016-06-16T16:31:14Z","updated_at":"2016-06-16T16:31:14Z","html_url":"https://github.com/rdevon/cortex/pull/7#discussion_r67378733","pull_request_url":"https://api.github.com/repos/rdevon/cortex/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/rdevon/cortex/pulls/comments/67378733"},"html":{"href":"https://github.com/rdevon/cortex/pull/7#discussion_r67378733"},"pull_request":{"href":"https://api.github.com/repos/rdevon/cortex/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/rdevon/cortex/pulls/7","id":74094813,"html_url":"https://github.com/rdevon/cortex/pull/7","diff_url":"https://github.com/rdevon/cortex/pull/7.diff","patch_url":"https://github.com/rdevon/cortex/pull/7.patch","issue_url":"https://api.github.com/repos/rdevon/cortex/issues/7","number":7,"state":"open","locked":false,"title":"Development","user":{"login":"Jeremy-E-Johnson","id":19911244,"avatar_url":"https://avatars.githubusercontent.com/u/19911244?v=3","gravatar_id":"","url":"https://api.github.com/users/Jeremy-E-Johnson","html_url":"https://github.com/Jeremy-E-Johnson","followers_url":"https://api.github.com/users/Jeremy-E-Johnson/followers","following_url":"https://api.github.com/users/Jeremy-E-Johnson/following{/other_user}","gists_url":"https://api.github.com/users/Jeremy-E-Johnson/gists{/gist_id}","starred_url":"https://api.github.com/users/Jeremy-E-Johnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jeremy-E-Johnson/subscriptions","organizations_url":"https://api.github.com/users/Jeremy-E-Johnson/orgs","repos_url":"https://api.github.com/users/Jeremy-E-Johnson/repos","events_url":"https://api.github.com/users/Jeremy-E-Johnson/events{/privacy}","received_events_url":"https://api.github.com/users/Jeremy-E-Johnson/received_events","type":"User","site_admin":false},"body":"Added mlp_mnist demo and test.","created_at":"2016-06-16T14:51:41Z","updated_at":"2016-06-16T16:31:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c14a428c418f0a2c238117b38facbcdbf6876836","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rdevon/cortex/pulls/7/commits","review_comments_url":"https://api.github.com/repos/rdevon/cortex/pulls/7/comments","review_comment_url":"https://api.github.com/repos/rdevon/cortex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rdevon/cortex/issues/7/comments","statuses_url":"https://api.github.com/repos/rdevon/cortex/statuses/379918a393c65617860b66357171265fe0820091","head":{"label":"Jeremy-E-Johnson:development","ref":"development","sha":"379918a393c65617860b66357171265fe0820091","user":{"login":"Jeremy-E-Johnson","id":19911244,"avatar_url":"https://avatars.githubusercontent.com/u/19911244?v=3","gravatar_id":"","url":"https://api.github.com/users/Jeremy-E-Johnson","html_url":"https://github.com/Jeremy-E-Johnson","followers_url":"https://api.github.com/users/Jeremy-E-Johnson/followers","following_url":"https://api.github.com/users/Jeremy-E-Johnson/following{/other_user}","gists_url":"https://api.github.com/users/Jeremy-E-Johnson/gists{/gist_id}","starred_url":"https://api.github.com/users/Jeremy-E-Johnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jeremy-E-Johnson/subscriptions","organizations_url":"https://api.github.com/users/Jeremy-E-Johnson/orgs","repos_url":"https://api.github.com/users/Jeremy-E-Johnson/repos","events_url":"https://api.github.com/users/Jeremy-E-Johnson/events{/privacy}","received_events_url":"https://api.github.com/users/Jeremy-E-Johnson/received_events","type":"User","site_admin":false},"repo":{"id":61044257,"name":"cortex","full_name":"Jeremy-E-Johnson/cortex","owner":{"login":"Jeremy-E-Johnson","id":19911244,"avatar_url":"https://avatars.githubusercontent.com/u/19911244?v=3","gravatar_id":"","url":"https://api.github.com/users/Jeremy-E-Johnson","html_url":"https://github.com/Jeremy-E-Johnson","followers_url":"https://api.github.com/users/Jeremy-E-Johnson/followers","following_url":"https://api.github.com/users/Jeremy-E-Johnson/following{/other_user}","gists_url":"https://api.github.com/users/Jeremy-E-Johnson/gists{/gist_id}","starred_url":"https://api.github.com/users/Jeremy-E-Johnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jeremy-E-Johnson/subscriptions","organizations_url":"https://api.github.com/users/Jeremy-E-Johnson/orgs","repos_url":"https://api.github.com/users/Jeremy-E-Johnson/repos","events_url":"https://api.github.com/users/Jeremy-E-Johnson/events{/privacy}","received_events_url":"https://api.github.com/users/Jeremy-E-Johnson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jeremy-E-Johnson/cortex","description":"Cortex - Deep learning tools for neuroimaging","fork":true,"url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex","forks_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/forks","keys_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/teams","hooks_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/hooks","issue_events_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/issues/events{/number}","events_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/events","assignees_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/assignees{/user}","branches_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/branches{/branch}","tags_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/tags","blobs_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/statuses/{sha}","languages_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/languages","stargazers_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/stargazers","contributors_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/contributors","subscribers_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/subscribers","subscription_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/subscription","commits_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/contents/{+path}","compare_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/merges","archive_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/downloads","issues_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/issues{/number}","pulls_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/pulls{/number}","milestones_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/milestones{/number}","notifications_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/labels{/name}","releases_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/releases{/id}","deployments_url":"https://api.github.com/repos/Jeremy-E-Johnson/cortex/deployments","created_at":"2016-06-13T14:45:14Z","updated_at":"2016-06-13T14:45:15Z","pushed_at":"2016-06-16T16:21:30Z","git_url":"git://github.com/Jeremy-E-Johnson/cortex.git","ssh_url":"git@github.com:Jeremy-E-Johnson/cortex.git","clone_url":"https://github.com/Jeremy-E-Johnson/cortex.git","svn_url":"https://github.com/Jeremy-E-Johnson/cortex","homepage":"","size":4018,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rdevon:development","ref":"development","sha":"847304ccd852ea2f03668026e4eef34e9695497c","user":{"login":"rdevon","id":2036414,"avatar_url":"https://avatars.githubusercontent.com/u/2036414?v=3","gravatar_id":"","url":"https://api.github.com/users/rdevon","html_url":"https://github.com/rdevon","followers_url":"https://api.github.com/users/rdevon/followers","following_url":"https://api.github.com/users/rdevon/following{/other_user}","gists_url":"https://api.github.com/users/rdevon/gists{/gist_id}","starred_url":"https://api.github.com/users/rdevon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdevon/subscriptions","organizations_url":"https://api.github.com/users/rdevon/orgs","repos_url":"https://api.github.com/users/rdevon/repos","events_url":"https://api.github.com/users/rdevon/events{/privacy}","received_events_url":"https://api.github.com/users/rdevon/received_events","type":"User","site_admin":false},"repo":{"id":58891635,"name":"cortex","full_name":"rdevon/cortex","owner":{"login":"rdevon","id":2036414,"avatar_url":"https://avatars.githubusercontent.com/u/2036414?v=3","gravatar_id":"","url":"https://api.github.com/users/rdevon","html_url":"https://github.com/rdevon","followers_url":"https://api.github.com/users/rdevon/followers","following_url":"https://api.github.com/users/rdevon/following{/other_user}","gists_url":"https://api.github.com/users/rdevon/gists{/gist_id}","starred_url":"https://api.github.com/users/rdevon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdevon/subscriptions","organizations_url":"https://api.github.com/users/rdevon/orgs","repos_url":"https://api.github.com/users/rdevon/repos","events_url":"https://api.github.com/users/rdevon/events{/privacy}","received_events_url":"https://api.github.com/users/rdevon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rdevon/cortex","description":"Cortex - Deep learning tools for neuroimaging","fork":false,"url":"https://api.github.com/repos/rdevon/cortex","forks_url":"https://api.github.com/repos/rdevon/cortex/forks","keys_url":"https://api.github.com/repos/rdevon/cortex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rdevon/cortex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rdevon/cortex/teams","hooks_url":"https://api.github.com/repos/rdevon/cortex/hooks","issue_events_url":"https://api.github.com/repos/rdevon/cortex/issues/events{/number}","events_url":"https://api.github.com/repos/rdevon/cortex/events","assignees_url":"https://api.github.com/repos/rdevon/cortex/assignees{/user}","branches_url":"https://api.github.com/repos/rdevon/cortex/branches{/branch}","tags_url":"https://api.github.com/repos/rdevon/cortex/tags","blobs_url":"https://api.github.com/repos/rdevon/cortex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rdevon/cortex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rdevon/cortex/git/refs{/sha}","trees_url":"https://api.github.com/repos/rdevon/cortex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rdevon/cortex/statuses/{sha}","languages_url":"https://api.github.com/repos/rdevon/cortex/languages","stargazers_url":"https://api.github.com/repos/rdevon/cortex/stargazers","contributors_url":"https://api.github.com/repos/rdevon/cortex/contributors","subscribers_url":"https://api.github.com/repos/rdevon/cortex/subscribers","subscription_url":"https://api.github.com/repos/rdevon/cortex/subscription","commits_url":"https://api.github.com/repos/rdevon/cortex/commits{/sha}","git_commits_url":"https://api.github.com/repos/rdevon/cortex/git/commits{/sha}","comments_url":"https://api.github.com/repos/rdevon/cortex/comments{/number}","issue_comment_url":"https://api.github.com/repos/rdevon/cortex/issues/comments{/number}","contents_url":"https://api.github.com/repos/rdevon/cortex/contents/{+path}","compare_url":"https://api.github.com/repos/rdevon/cortex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rdevon/cortex/merges","archive_url":"https://api.github.com/repos/rdevon/cortex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rdevon/cortex/downloads","issues_url":"https://api.github.com/repos/rdevon/cortex/issues{/number}","pulls_url":"https://api.github.com/repos/rdevon/cortex/pulls{/number}","milestones_url":"https://api.github.com/repos/rdevon/cortex/milestones{/number}","notifications_url":"https://api.github.com/repos/rdevon/cortex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rdevon/cortex/labels{/name}","releases_url":"https://api.github.com/repos/rdevon/cortex/releases{/id}","deployments_url":"https://api.github.com/repos/rdevon/cortex/deployments","created_at":"2016-05-16T00:18:35Z","updated_at":"2016-06-13T22:56:22Z","pushed_at":"2016-06-16T16:21:31Z","git_url":"git://github.com/rdevon/cortex.git","ssh_url":"git@github.com:rdevon/cortex.git","clone_url":"https://github.com/rdevon/cortex.git","svn_url":"https://github.com/rdevon/cortex","homepage":"","size":4024,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rdevon/cortex/pulls/7"},"html":{"href":"https://github.com/rdevon/cortex/pull/7"},"issue":{"href":"https://api.github.com/repos/rdevon/cortex/issues/7"},"comments":{"href":"https://api.github.com/repos/rdevon/cortex/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/rdevon/cortex/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/rdevon/cortex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rdevon/cortex/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/rdevon/cortex/statuses/379918a393c65617860b66357171265fe0820091"}}}}
{"actor":{"display_login":"rdevon"}}