{"action":"created","issue":{"url":"https://api.github.com/repos/J535D165/recordlinkage/issues/64","repository_url":"https://api.github.com/repos/J535D165/recordlinkage","labels_url":"https://api.github.com/repos/J535D165/recordlinkage/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/J535D165/recordlinkage/issues/64/comments","events_url":"https://api.github.com/repos/J535D165/recordlinkage/issues/64/events","html_url":"https://github.com/J535D165/recordlinkage/issues/64","id":331787723,"node_id":"MDU6SXNzdWUzMzE3ODc3MjM=","number":64,"title":"Allowing assign the weight to different feature when using compare ","user":{"login":"SoulEvill","id":13038676,"node_id":"MDQ6VXNlcjEzMDM4Njc2","avatar_url":"https://avatars0.githubusercontent.com/u/13038676?v=4","gravatar_id":"","url":"https://api.github.com/users/SoulEvill","html_url":"https://github.com/SoulEvill","followers_url":"https://api.github.com/users/SoulEvill/followers","following_url":"https://api.github.com/users/SoulEvill/following{/other_user}","gists_url":"https://api.github.com/users/SoulEvill/gists{/gist_id}","starred_url":"https://api.github.com/users/SoulEvill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SoulEvill/subscriptions","organizations_url":"https://api.github.com/users/SoulEvill/orgs","repos_url":"https://api.github.com/users/SoulEvill/repos","events_url":"https://api.github.com/users/SoulEvill/events{/privacy}","received_events_url":"https://api.github.com/users/SoulEvill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-12T23:21:32Z","updated_at":"2018-09-10T19:31:50Z","closed_at":null,"author_association":"NONE","body":"Not all features are equally important when compare if two records are the same. it would be really nice if package can support assigning weight options when compare. \r\n\r\nso let's say we trying to do record linkage for online shopping customer data set. the data have SSN(they shouldn't store SSN, here just use as demonstration), address, gender, birth data, telephone, email etc.. example would be:\r\n`compare_cl.string('LASTNAME', 'LASTNAME', method='jarowinkler', threshold=0.9, label='LASTNAME', weight = 0.7)`\r\n`compare_cl.exact('SSN', 'SSN', method='jarowinkler', threshold=0.9, label='SSN', weight = 1)`\r\nIn the end even the lastname match, it will only get 0.7*vector score compare to ssn match will get 1 score.\r\n"},"comment":{"url":"https://api.github.com/repos/J535D165/recordlinkage/issues/comments/420032339","html_url":"https://github.com/J535D165/recordlinkage/issues/64#issuecomment-420032339","issue_url":"https://api.github.com/repos/J535D165/recordlinkage/issues/64","id":420032339,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDAzMjMzOQ==","user":{"login":"SoulEvill","id":13038676,"node_id":"MDQ6VXNlcjEzMDM4Njc2","avatar_url":"https://avatars0.githubusercontent.com/u/13038676?v=4","gravatar_id":"","url":"https://api.github.com/users/SoulEvill","html_url":"https://github.com/SoulEvill","followers_url":"https://api.github.com/users/SoulEvill/followers","following_url":"https://api.github.com/users/SoulEvill/following{/other_user}","gists_url":"https://api.github.com/users/SoulEvill/gists{/gist_id}","starred_url":"https://api.github.com/users/SoulEvill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SoulEvill/subscriptions","organizations_url":"https://api.github.com/users/SoulEvill/orgs","repos_url":"https://api.github.com/users/SoulEvill/repos","events_url":"https://api.github.com/users/SoulEvill/events{/privacy}","received_events_url":"https://api.github.com/users/SoulEvill/received_events","type":"User","site_admin":false},"created_at":"2018-09-10T19:31:50Z","updated_at":"2018-09-10T19:31:50Z","author_association":"NONE","body":"Thank you so much!!it works perfectly! I wasn't aware the comp_results actually just a dict. \r\n\r\nbut let's just leave the thread open in case the team plan to do something officially. "}}
{"actor":{"display_login":"SoulEvill"}}