{"id":19562176,"url":"https://github.com/iamdecode/lemon-evaluation","last_synced_at":"2026-06-13T17:33:04.251Z","repository":{"id":69665650,"uuid":"178884868","full_name":"iamDecode/lemon-evaluation","owner":"iamDecode","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-19T21:41:46.000Z","size":1439,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-17T11:21:19.286Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://explaining.ml/lemon","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iamDecode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-04-01T14:48:22.000Z","updated_at":"2023-04-14T18:14:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"88caa3f6-4a5f-46d5-8739-efa3c5fd40e4","html_url":"https://github.com/iamDecode/lemon-evaluation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iamDecode/lemon-evaluation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamDecode%2Flemon-evaluation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamDecode%2Flemon-evaluation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamDecode%2Flemon-evaluation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamDecode%2Flemon-evaluation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamDecode","download_url":"https://codeload.github.com/iamDecode/lemon-evaluation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamDecode%2Flemon-evaluation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34294411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T05:13:54.309Z","updated_at":"2026-06-13T17:33:04.246Z","avatar_url":"https://github.com/iamDecode.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"🍋 LEMON evaluation\r\n=================================\r\n\r\nThis repository hosts the code to run the evaluation of the [LEMON explainer technique](https://github.com/iamDecode/lemon).\r\n\r\n## Setup\r\n\r\nThis assumes you have got the python virtualenv package installed (`pip install virtualenv`).\r\n\r\n1. Create a virtual environment:\r\n\r\n        $ virtualenv venv\r\n\r\n2. Activate the virtual environment:\r\n\r\n        $ source venv/bin/activate\r\n\r\n   Or in the fish shell:\r\n\r\n        $ source venv/bin/activate.fish\r\n\r\n3. Install the dependencies:\r\n\r\n        $ pip install -r requirements.txt\r\n\r\n4. Make sure jupyter uses the virtualenv:\r\n\r\n\t$ python -m ipykernel install --user --name=venv\r\n\r\n\r\n## Running\r\n\r\nTo execute the notebook, run:\r\n\r\n        $ jupyter lab\r\n\r\nYou may have to switch the kernel to the one we created in setup step 4.\r\n\r\n## Content\r\n\r\n- `01-samples` contains code to generate samples using arbitrary distance kernels (the basis of LEMON), and code to generate the figures used in the paper.\r\n- `02-evaluation-synthetic` contains the full code for LEMON and for the synthetic data evaluation in the paper, and \r\n- `03-evaluation-uci` the code for the UCI dataset evaluation in the paper (this may take a while to run).\r\n\r\n## Citation\r\n\r\nIf you want to refer to our explanation technique, please cite our paper using the following BibTeX entry:\r\n\r\n```bibtex\r\n@inproceedings{collaris2023lemon,\r\n  title={{LEMON}: Alternative Sampling for More Faithful Explanation Through Local Surrogate Models},\r\n  author={Collaris, Dennis and Gajane, Pratik and Jorritsma, Joost and van Wijk, Jarke J and Pechenizkiy, Mykola},\r\n  booktitle={Advances in Intelligent Data Analysis XXI: 21st International Symposium on Intelligent Data Analysis (IDA 2023)},\r\n  pages={77--90},\r\n  year={2023},\r\n  organization={Springer}\r\n}\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamdecode%2Flemon-evaluation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamdecode%2Flemon-evaluation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamdecode%2Flemon-evaluation/lists"}