{"action":"created","issue":{"url":"https://api.github.com/repos/jubatus/jubatus_core/issues/289","repository_url":"https://api.github.com/repos/jubatus/jubatus_core","labels_url":"https://api.github.com/repos/jubatus/jubatus_core/issues/289/labels{/name}","comments_url":"https://api.github.com/repos/jubatus/jubatus_core/issues/289/comments","events_url":"https://api.github.com/repos/jubatus/jubatus_core/issues/289/events","html_url":"https://github.com/jubatus/jubatus_core/pull/289","id":155437654,"number":289,"title":"improve NN euclid_lsh calculation accuracy when hamming distance is zero (fix #253)","user":{"login":"kmaehashi","id":939877,"avatar_url":"https://avatars.githubusercontent.com/u/939877?v=3","gravatar_id":"","url":"https://api.github.com/users/kmaehashi","html_url":"https://github.com/kmaehashi","followers_url":"https://api.github.com/users/kmaehashi/followers","following_url":"https://api.github.com/users/kmaehashi/following{/other_user}","gists_url":"https://api.github.com/users/kmaehashi/gists{/gist_id}","starred_url":"https://api.github.com/users/kmaehashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmaehashi/subscriptions","organizations_url":"https://api.github.com/users/kmaehashi/orgs","repos_url":"https://api.github.com/users/kmaehashi/repos","events_url":"https://api.github.com/users/kmaehashi/events{/privacy}","received_events_url":"https://api.github.com/users/kmaehashi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"yukimori","id":1590363,"avatar_url":"https://avatars.githubusercontent.com/u/1590363?v=3","gravatar_id":"","url":"https://api.github.com/users/yukimori","html_url":"https://github.com/yukimori","followers_url":"https://api.github.com/users/yukimori/followers","following_url":"https://api.github.com/users/yukimori/following{/other_user}","gists_url":"https://api.github.com/users/yukimori/gists{/gist_id}","starred_url":"https://api.github.com/users/yukimori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yukimori/subscriptions","organizations_url":"https://api.github.com/users/yukimori/orgs","repos_url":"https://api.github.com/users/yukimori/repos","events_url":"https://api.github.com/users/yukimori/events{/privacy}","received_events_url":"https://api.github.com/users/yukimori/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/jubatus/jubatus_core/milestones/26","html_url":"https://github.com/jubatus/jubatus_core/milestones/0.3.1","labels_url":"https://api.github.com/repos/jubatus/jubatus_core/milestones/26/labels","id":1728119,"number":26,"title":"0.3.1","description":null,"creator":{"login":"kmaehashi","id":939877,"avatar_url":"https://avatars.githubusercontent.com/u/939877?v=3","gravatar_id":"","url":"https://api.github.com/users/kmaehashi","html_url":"https://github.com/kmaehashi","followers_url":"https://api.github.com/users/kmaehashi/followers","following_url":"https://api.github.com/users/kmaehashi/following{/other_user}","gists_url":"https://api.github.com/users/kmaehashi/gists{/gist_id}","starred_url":"https://api.github.com/users/kmaehashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmaehashi/subscriptions","organizations_url":"https://api.github.com/users/kmaehashi/orgs","repos_url":"https://api.github.com/users/kmaehashi/repos","events_url":"https://api.github.com/users/kmaehashi/events{/privacy}","received_events_url":"https://api.github.com/users/kmaehashi/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":5,"state":"open","created_at":"2016-04-25T05:37:55Z","updated_at":"2016-05-23T16:07:53Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-05-18T07:53:04Z","updated_at":"2016-05-23T16:08:04Z","closed_at":"2016-05-23T16:07:53Z","pull_request":{"url":"https://api.github.com/repos/jubatus/jubatus_core/pulls/289","html_url":"https://github.com/jubatus/jubatus_core/pull/289","diff_url":"https://github.com/jubatus/jubatus_core/pull/289.diff","patch_url":"https://github.com/jubatus/jubatus_core/pull/289.patch"},"body":"This fixes #253: distance between two points that are very close to each other cannot be calculated properly in some cases.\n\nIn this PR, I fixed the code to directly calculate the distance between two points if the hamming distance, which is a result of Cosine LSH, is 0 (i.e., cosine similarity of two points are 1.0).\nThis is a technique already used in Euclid LSH of Recommender.  https://github.com/jubatus/jubatus_core/blob/0.3.0/jubatus/core/storage/lsh_index_storage.cpp#L98"},"comment":{"url":"https://api.github.com/repos/jubatus/jubatus_core/issues/comments/221019306","html_url":"https://github.com/jubatus/jubatus_core/pull/289#issuecomment-221019306","issue_url":"https://api.github.com/repos/jubatus/jubatus_core/issues/289","id":221019306,"user":{"login":"yukimori","id":1590363,"avatar_url":"https://avatars.githubusercontent.com/u/1590363?v=3","gravatar_id":"","url":"https://api.github.com/users/yukimori","html_url":"https://github.com/yukimori","followers_url":"https://api.github.com/users/yukimori/followers","following_url":"https://api.github.com/users/yukimori/following{/other_user}","gists_url":"https://api.github.com/users/yukimori/gists{/gist_id}","starred_url":"https://api.github.com/users/yukimori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yukimori/subscriptions","organizations_url":"https://api.github.com/users/yukimori/orgs","repos_url":"https://api.github.com/users/yukimori/repos","events_url":"https://api.github.com/users/yukimori/events{/privacy}","received_events_url":"https://api.github.com/users/yukimori/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T16:08:04Z","updated_at":"2016-05-23T16:08:04Z","body":"LGTM!"}}
{"actor":{"display_login":"yukimori"}}