{"action":"opened","number":414,"pull_request":{"url":"https://api.github.com/repos/clab/dynet/pulls/414","id":113204887,"html_url":"https://github.com/clab/dynet/pull/414","diff_url":"https://github.com/clab/dynet/pull/414.diff","patch_url":"https://github.com/clab/dynet/pull/414.patch","issue_url":"https://api.github.com/repos/clab/dynet/issues/414","number":414,"state":"open","locked":false,"title":"Fix y<<1 / x=0 issue (binary logloss)","user":{"login":"pmichel31415","id":10391785,"avatar_url":"https://avatars1.githubusercontent.com/u/10391785?v=3","gravatar_id":"","url":"https://api.github.com/users/pmichel31415","html_url":"https://github.com/pmichel31415","followers_url":"https://api.github.com/users/pmichel31415/followers","following_url":"https://api.github.com/users/pmichel31415/following{/other_user}","gists_url":"https://api.github.com/users/pmichel31415/gists{/gist_id}","starred_url":"https://api.github.com/users/pmichel31415/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmichel31415/subscriptions","organizations_url":"https://api.github.com/users/pmichel31415/orgs","repos_url":"https://api.github.com/users/pmichel31415/repos","events_url":"https://api.github.com/users/pmichel31415/events{/privacy}","received_events_url":"https://api.github.com/users/pmichel31415/received_events","type":"User","site_admin":false},"body":"Sorry to reopen this, something bothered me with the previous behaviour, ie when x=0,y=0.01, y * log(x) was < 1 which is weird.\r\n\r\nThe new behaviour is : \r\n\r\n    binary_log_loss(0,1) = infinity\r\n    binary_log_loss(1,0) = infinity\r\n    binary_log_loss(0,0.01) = infinity // was 87 * 0.01 before\r\n    binary_log_loss(0.01,1) = log(0.01)","created_at":"2017-03-29T14:01:22Z","updated_at":"2017-03-29T14:01:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/clab/dynet/pulls/414/commits","review_comments_url":"https://api.github.com/repos/clab/dynet/pulls/414/comments","review_comment_url":"https://api.github.com/repos/clab/dynet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clab/dynet/issues/414/comments","statuses_url":"https://api.github.com/repos/clab/dynet/statuses/21feba09c4a69b6c39b719afdd5c71056652ffe3","head":{"label":"clab:binary_logloss_fix","ref":"binary_logloss_fix","sha":"21feba09c4a69b6c39b719afdd5c71056652ffe3","user":{"login":"clab","id":2374376,"avatar_url":"https://avatars0.githubusercontent.com/u/2374376?v=3","gravatar_id":"","url":"https://api.github.com/users/clab","html_url":"https://github.com/clab","followers_url":"https://api.github.com/users/clab/followers","following_url":"https://api.github.com/users/clab/following{/other_user}","gists_url":"https://api.github.com/users/clab/gists{/gist_id}","starred_url":"https://api.github.com/users/clab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clab/subscriptions","organizations_url":"https://api.github.com/users/clab/orgs","repos_url":"https://api.github.com/users/clab/repos","events_url":"https://api.github.com/users/clab/events{/privacy}","received_events_url":"https://api.github.com/users/clab/received_events","type":"Organization","site_admin":false},"repo":{"id":30509483,"name":"dynet","full_name":"clab/dynet","owner":{"login":"clab","id":2374376,"avatar_url":"https://avatars0.githubusercontent.com/u/2374376?v=3","gravatar_id":"","url":"https://api.github.com/users/clab","html_url":"https://github.com/clab","followers_url":"https://api.github.com/users/clab/followers","following_url":"https://api.github.com/users/clab/following{/other_user}","gists_url":"https://api.github.com/users/clab/gists{/gist_id}","starred_url":"https://api.github.com/users/clab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clab/subscriptions","organizations_url":"https://api.github.com/users/clab/orgs","repos_url":"https://api.github.com/users/clab/repos","events_url":"https://api.github.com/users/clab/events{/privacy}","received_events_url":"https://api.github.com/users/clab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clab/dynet","description":"DyNet: The Dynamic Neural Network Toolkit","fork":false,"url":"https://api.github.com/repos/clab/dynet","forks_url":"https://api.github.com/repos/clab/dynet/forks","keys_url":"https://api.github.com/repos/clab/dynet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clab/dynet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clab/dynet/teams","hooks_url":"https://api.github.com/repos/clab/dynet/hooks","issue_events_url":"https://api.github.com/repos/clab/dynet/issues/events{/number}","events_url":"https://api.github.com/repos/clab/dynet/events","assignees_url":"https://api.github.com/repos/clab/dynet/assignees{/user}","branches_url":"https://api.github.com/repos/clab/dynet/branches{/branch}","tags_url":"https://api.github.com/repos/clab/dynet/tags","blobs_url":"https://api.github.com/repos/clab/dynet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clab/dynet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clab/dynet/git/refs{/sha}","trees_url":"https://api.github.com/repos/clab/dynet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clab/dynet/statuses/{sha}","languages_url":"https://api.github.com/repos/clab/dynet/languages","stargazers_url":"https://api.github.com/repos/clab/dynet/stargazers","contributors_url":"https://api.github.com/repos/clab/dynet/contributors","subscribers_url":"https://api.github.com/repos/clab/dynet/subscribers","subscription_url":"https://api.github.com/repos/clab/dynet/subscription","commits_url":"https://api.github.com/repos/clab/dynet/commits{/sha}","git_commits_url":"https://api.github.com/repos/clab/dynet/git/commits{/sha}","comments_url":"https://api.github.com/repos/clab/dynet/comments{/number}","issue_comment_url":"https://api.github.com/repos/clab/dynet/issues/comments{/number}","contents_url":"https://api.github.com/repos/clab/dynet/contents/{+path}","compare_url":"https://api.github.com/repos/clab/dynet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clab/dynet/merges","archive_url":"https://api.github.com/repos/clab/dynet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clab/dynet/downloads","issues_url":"https://api.github.com/repos/clab/dynet/issues{/number}","pulls_url":"https://api.github.com/repos/clab/dynet/pulls{/number}","milestones_url":"https://api.github.com/repos/clab/dynet/milestones{/number}","notifications_url":"https://api.github.com/repos/clab/dynet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clab/dynet/labels{/name}","releases_url":"https://api.github.com/repos/clab/dynet/releases{/id}","deployments_url":"https://api.github.com/repos/clab/dynet/deployments","created_at":"2015-02-08T23:09:21Z","updated_at":"2017-03-29T03:31:19Z","pushed_at":"2017-03-29T13:58:10Z","git_url":"git://github.com/clab/dynet.git","ssh_url":"git@github.com:clab/dynet.git","clone_url":"https://github.com/clab/dynet.git","svn_url":"https://github.com/clab/dynet","homepage":"","size":4953,"stargazers_count":1296,"watchers_count":1296,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":350,"mirror_url":null,"open_issues_count":73,"forks":350,"open_issues":73,"watchers":1296,"default_branch":"master"}},"base":{"label":"clab:master","ref":"master","sha":"54fb540145aa1aaa3f48311045310e122b540fef","user":{"login":"clab","id":2374376,"avatar_url":"https://avatars0.githubusercontent.com/u/2374376?v=3","gravatar_id":"","url":"https://api.github.com/users/clab","html_url":"https://github.com/clab","followers_url":"https://api.github.com/users/clab/followers","following_url":"https://api.github.com/users/clab/following{/other_user}","gists_url":"https://api.github.com/users/clab/gists{/gist_id}","starred_url":"https://api.github.com/users/clab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clab/subscriptions","organizations_url":"https://api.github.com/users/clab/orgs","repos_url":"https://api.github.com/users/clab/repos","events_url":"https://api.github.com/users/clab/events{/privacy}","received_events_url":"https://api.github.com/users/clab/received_events","type":"Organization","site_admin":false},"repo":{"id":30509483,"name":"dynet","full_name":"clab/dynet","owner":{"login":"clab","id":2374376,"avatar_url":"https://avatars0.githubusercontent.com/u/2374376?v=3","gravatar_id":"","url":"https://api.github.com/users/clab","html_url":"https://github.com/clab","followers_url":"https://api.github.com/users/clab/followers","following_url":"https://api.github.com/users/clab/following{/other_user}","gists_url":"https://api.github.com/users/clab/gists{/gist_id}","starred_url":"https://api.github.com/users/clab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clab/subscriptions","organizations_url":"https://api.github.com/users/clab/orgs","repos_url":"https://api.github.com/users/clab/repos","events_url":"https://api.github.com/users/clab/events{/privacy}","received_events_url":"https://api.github.com/users/clab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clab/dynet","description":"DyNet: The Dynamic Neural Network Toolkit","fork":false,"url":"https://api.github.com/repos/clab/dynet","forks_url":"https://api.github.com/repos/clab/dynet/forks","keys_url":"https://api.github.com/repos/clab/dynet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clab/dynet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clab/dynet/teams","hooks_url":"https://api.github.com/repos/clab/dynet/hooks","issue_events_url":"https://api.github.com/repos/clab/dynet/issues/events{/number}","events_url":"https://api.github.com/repos/clab/dynet/events","assignees_url":"https://api.github.com/repos/clab/dynet/assignees{/user}","branches_url":"https://api.github.com/repos/clab/dynet/branches{/branch}","tags_url":"https://api.github.com/repos/clab/dynet/tags","blobs_url":"https://api.github.com/repos/clab/dynet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clab/dynet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clab/dynet/git/refs{/sha}","trees_url":"https://api.github.com/repos/clab/dynet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clab/dynet/statuses/{sha}","languages_url":"https://api.github.com/repos/clab/dynet/languages","stargazers_url":"https://api.github.com/repos/clab/dynet/stargazers","contributors_url":"https://api.github.com/repos/clab/dynet/contributors","subscribers_url":"https://api.github.com/repos/clab/dynet/subscribers","subscription_url":"https://api.github.com/repos/clab/dynet/subscription","commits_url":"https://api.github.com/repos/clab/dynet/commits{/sha}","git_commits_url":"https://api.github.com/repos/clab/dynet/git/commits{/sha}","comments_url":"https://api.github.com/repos/clab/dynet/comments{/number}","issue_comment_url":"https://api.github.com/repos/clab/dynet/issues/comments{/number}","contents_url":"https://api.github.com/repos/clab/dynet/contents/{+path}","compare_url":"https://api.github.com/repos/clab/dynet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clab/dynet/merges","archive_url":"https://api.github.com/repos/clab/dynet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clab/dynet/downloads","issues_url":"https://api.github.com/repos/clab/dynet/issues{/number}","pulls_url":"https://api.github.com/repos/clab/dynet/pulls{/number}","milestones_url":"https://api.github.com/repos/clab/dynet/milestones{/number}","notifications_url":"https://api.github.com/repos/clab/dynet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clab/dynet/labels{/name}","releases_url":"https://api.github.com/repos/clab/dynet/releases{/id}","deployments_url":"https://api.github.com/repos/clab/dynet/deployments","created_at":"2015-02-08T23:09:21Z","updated_at":"2017-03-29T03:31:19Z","pushed_at":"2017-03-29T13:58:10Z","git_url":"git://github.com/clab/dynet.git","ssh_url":"git@github.com:clab/dynet.git","clone_url":"https://github.com/clab/dynet.git","svn_url":"https://github.com/clab/dynet","homepage":"","size":4953,"stargazers_count":1296,"watchers_count":1296,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":350,"mirror_url":null,"open_issues_count":73,"forks":350,"open_issues":73,"watchers":1296,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clab/dynet/pulls/414"},"html":{"href":"https://github.com/clab/dynet/pull/414"},"issue":{"href":"https://api.github.com/repos/clab/dynet/issues/414"},"comments":{"href":"https://api.github.com/repos/clab/dynet/issues/414/comments"},"review_comments":{"href":"https://api.github.com/repos/clab/dynet/pulls/414/comments"},"review_comment":{"href":"https://api.github.com/repos/clab/dynet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clab/dynet/pulls/414/commits"},"statuses":{"href":"https://api.github.com/repos/clab/dynet/statuses/21feba09c4a69b6c39b719afdd5c71056652ffe3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":9,"deletions":9,"changed_files":2}}
{"actor":{"display_login":"pmichel31415"}}