{ "info": { "author": "Paul Boosz", "author_email": "paulboosz@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "\n# entity-resolution-evaluation\n\nA python package to evaluate entity resolution\n\nThis package allows to evaluate entity resolution by efficiently computing several state of the art metrics : basic merge distance, precision, recall, variation of information. It's using the slice algorithm from the paper :\n\nMenestrina, David and Whang, Steven Euijong and Garcia-Molina, Hector (2010) Evaluating Entity Resolution Results\nhttp://ilpubs.stanford.edu:8090/975/3/ERMetricVLDB.pdf\n\n## Getting Started\n\n### Installing\n\n```bash\npip install entity-resolution-evaluation\n```\n\n### Testing\n\nEvaluate your resolution *R* against the gold standard *S* using a *metric*.\n\nExamples\n\n```\nS = [[0, 1], [2, 3, 4], [5]]\nR = [[0, 1, 2], [3, 4], [5]]\n\nevaluate(R,S, 'bmd')\n# returns 2\n```\nTo go from R to S, you have to do 1 split and 1 merge.\n```\nevaluate(R,S,'precision')\n# returns 0.5, \n```\nHalf of the pairs of R are incorrect. (0,2) and (1,2) are incorrect. (0,1) and (3,4) are correct\n```\nevaluate(R,S,'recall')\n# returns 0.5\n```\nHalf of the pairs of S are present in R. (0,1) and (3,4) are present. (2,3) and (2,4) are absent.\n```\nevaluate(R,S,'variation of information')\n# returns 0.6365141682948129\n````\n\n### Metrics \n\nYou can currently compute the following metrics :\n\n|metric|value if perfect|bounds|intepretation|\n|------|----------------|------|--------------|\n|'bmd'|0|[0,infinity]|basic merge distance : the number of split and merge necessary to go from R to S|\n|'precision'|1|[0,1]|proportion of pairs in R present in S|\n|'recall'|1|[0,1]|proportion of pairs in S present in R|\n|'f1'|1|[0,1]|harmonic mean of precision and recall|\n|'variation_of_information'|0|[0,infinity]|amount of information that is lost and added to go from R to S|\n\n\n## Credits\n\n
\n \n \n \n
\n\nPlease visit the [Hopkins mission](https://entrepreneur-interet-general.etalab.gouv.fr/defis/2018/hopkins.html) page for more information\n\n## License\n\nMIT License\n\nCopyright (c) 2018 Minist\u00e8re de l'Action et des Comptes Publics, Paul Boosz, Beno\u00eet Guigal\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/entrepreneur-interet-general/entity-resolution-evaluation", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "entity-resolution-evaluation", "package_url": "https://pypi.org/project/entity-resolution-evaluation/", "platform": "", "project_url": "https://pypi.org/project/entity-resolution-evaluation/", "project_urls": { "Homepage": "https://github.com/entrepreneur-interet-general/entity-resolution-evaluation" }, "release_url": "https://pypi.org/project/entity-resolution-evaluation/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "An implementation of the generalized merged distance to evaluate entity resolution", "version": "0.0.2" }, "last_serial": 4411112, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "c12a7f2e37d78b8692062f2e64e9428a", "sha256": "9dca76835bf0663946181dbf81ed326d8e13ccc1dfa18d10e28a928eb287c3e7" }, "downloads": -1, "filename": "entity_resolution_evaluation-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c12a7f2e37d78b8692062f2e64e9428a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4985, "upload_time": "2018-10-17T14:31:02", "url": "https://files.pythonhosted.org/packages/85/da/27c5854894b550291f97b676c0a480d7582742481675c1c12cfc664e6261/entity_resolution_evaluation-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "22e0e51e6031ca7e0267b1470492e58f", "sha256": "f99e8429afb4c3eaf5521b9931a245a1afb5829b47687ff281a09add7818a57f" }, "downloads": -1, "filename": "entity_resolution_evaluation-0.0.1.tar.gz", "has_sig": false, "md5_digest": "22e0e51e6031ca7e0267b1470492e58f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3089, "upload_time": "2018-10-17T14:31:04", "url": "https://files.pythonhosted.org/packages/ef/50/e34e8a5630a06d4726b457c867c515c1bd989f2a33db3256507d395ac159/entity_resolution_evaluation-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "9080435f97862328f287372b5f15dc14", "sha256": "75a91187fc873d7d041a45679beaf429d56ff09d07e7d0b1b3c99e023d6df17b" }, "downloads": -1, "filename": "entity_resolution_evaluation-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "9080435f97862328f287372b5f15dc14", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8023, "upload_time": "2018-10-24T13:31:48", "url": "https://files.pythonhosted.org/packages/4c/ce/01297dcfa2e1b941994535a6e0b7544c448b4e35af6c0e8dfe824c6e7422/entity_resolution_evaluation-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "826809dad9199eec7fb176432b442a70", "sha256": "77609c039f46e6d56175f9e7e078b266cb8d7abe56ed0a061166a17f1863a22b" }, "downloads": -1, "filename": "entity_resolution_evaluation-0.0.2.tar.gz", "has_sig": false, "md5_digest": "826809dad9199eec7fb176432b442a70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5984, "upload_time": "2018-10-24T13:31:51", "url": "https://files.pythonhosted.org/packages/ca/f0/651ef32b8a6ae6fa1398330d7584cb4d2e8aff15bf55d0f6235d1e3deec4/entity_resolution_evaluation-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9080435f97862328f287372b5f15dc14", "sha256": "75a91187fc873d7d041a45679beaf429d56ff09d07e7d0b1b3c99e023d6df17b" }, "downloads": -1, "filename": "entity_resolution_evaluation-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "9080435f97862328f287372b5f15dc14", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8023, "upload_time": "2018-10-24T13:31:48", "url": "https://files.pythonhosted.org/packages/4c/ce/01297dcfa2e1b941994535a6e0b7544c448b4e35af6c0e8dfe824c6e7422/entity_resolution_evaluation-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "826809dad9199eec7fb176432b442a70", "sha256": "77609c039f46e6d56175f9e7e078b266cb8d7abe56ed0a061166a17f1863a22b" }, "downloads": -1, "filename": "entity_resolution_evaluation-0.0.2.tar.gz", "has_sig": false, "md5_digest": "826809dad9199eec7fb176432b442a70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5984, "upload_time": "2018-10-24T13:31:51", "url": "https://files.pythonhosted.org/packages/ca/f0/651ef32b8a6ae6fa1398330d7584cb4d2e8aff15bf55d0f6235d1e3deec4/entity_resolution_evaluation-0.0.2.tar.gz" } ] }