{"id":19289666,"url":"https://github.com/yingding/kaggle-munich","last_synced_at":"2026-06-13T02:33:41.824Z","repository":{"id":188141727,"uuid":"627105680","full_name":"yingding/kaggle-munich","owner":"yingding","description":"the notebook for Kaggle Munich SHAP 101 talk","archived":false,"fork":false,"pushed_at":"2023-04-12T21:23:17.000Z","size":1521,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-16T04:04:34.350Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yingding.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-12T19:48:03.000Z","updated_at":"2023-05-01T14:10:42.000Z","dependencies_parsed_at":"2023-08-14T00:43:14.897Z","dependency_job_id":null,"html_url":"https://github.com/yingding/kaggle-munich","commit_stats":null,"previous_names":["yingding/kaggle-munich"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yingding/kaggle-munich","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingding%2Fkaggle-munich","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingding%2Fkaggle-munich/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingding%2Fkaggle-munich/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingding%2Fkaggle-munich/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yingding","download_url":"https://codeload.github.com/yingding/kaggle-munich/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingding%2Fkaggle-munich/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34270414,"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-09T22:16:40.041Z","updated_at":"2026-06-13T02:33:41.795Z","avatar_url":"https://github.com/yingding.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kaggle-munich\nthe notebook for Kaggle Munich SHAP 101 talk\n\n# Introduction into SHAP\n\nSHAP trains an additional model based on the observation of custom model behaviour to determine how black box custom model making decision regarding the input features.\n\n## Create a virtual environment\n\nFor macosx apple silicon\n```shell\n/opt/homebrew/bin/python3.10 -m venv ~/VENV/shap3.10\n```\n\n## Install packages \n```shell\nsource ~/VENV/shap3.10/bin/activate\npython3 -m pip install -r requirements.txt --no-cache\ndeactivate\n```\n\n## Add a jupyter notebook kernel to VENV\n```console\nsource ~/VENV/shap3.10/bin/activate\npython3 -m pip install --upgrade pip\npython3 -m pip install ipykernel\ndeactivate\n```\n\nWe need to reactivate the venv so that the ipython kernel is available after installation.\n```\nsource ~/VENV/shap3.10/bin/activate\n# ipython kernel install --user --name=shap3.10\npython3 -m ipykernel install --user --name=shap3.10 --display-name \"shap3.10\"\n\n```\nNote: \n* restart the vs code, to select the venv as jupyter notebook kernel \n* name is `shap3.10`, which is the venv name.\n\nReference:\n* https://ipython.readthedocs.io/en/stable/install/kernel_install.html\n* https://anbasile.github.io/posts/2017-06-25-jupyter-venv/\n\n## Remove ipykernel\n```shell\n# jupyter kernelspec uninstall -y \u003cVENV_NAME\u003e\njupyter kernelspec uninstall -y shap3.10\n```\n\n## Remove all package from venv\n```\npython3 -m pip freeze | xargs pip uninstall -y\npython3 -m pip list\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyingding%2Fkaggle-munich","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyingding%2Fkaggle-munich","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyingding%2Fkaggle-munich/lists"}