{"id":22562309,"url":"https://github.com/mdietrichstein/xai-statlog-heart","last_synced_at":"2026-04-30T00:31:29.479Z","repository":{"id":37232764,"uuid":"194396235","full_name":"mdietrichstein/xai-statlog-heart","owner":"mdietrichstein","description":"Exploration of ML Explainability Methods on the Statlog (Heart) Data Set","archived":false,"fork":false,"pushed_at":"2023-03-24T23:08:17.000Z","size":10699,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-07T22:53:37.063Z","etag":null,"topics":["docker","explainable-ml","exploratory-data-analysis","exploratory-data-visualizations","health","heart","reproducibility","scikit","xai"],"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/mdietrichstein.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-29T11:04:06.000Z","updated_at":"2023-11-19T23:14:39.000Z","dependencies_parsed_at":"2025-03-28T12:43:03.109Z","dependency_job_id":"69c086d7-2f30-4d57-bc34-870f2a392fed","html_url":"https://github.com/mdietrichstein/xai-statlog-heart","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/mdietrichstein/xai-statlog-heart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdietrichstein%2Fxai-statlog-heart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdietrichstein%2Fxai-statlog-heart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdietrichstein%2Fxai-statlog-heart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdietrichstein%2Fxai-statlog-heart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdietrichstein","download_url":"https://codeload.github.com/mdietrichstein/xai-statlog-heart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdietrichstein%2Fxai-statlog-heart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32449680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","explainable-ml","exploratory-data-analysis","exploratory-data-visualizations","health","heart","reproducibility","scikit","xai"],"created_at":"2024-12-07T22:12:29.955Z","updated_at":"2026-04-30T00:31:29.460Z","avatar_url":"https://github.com/mdietrichstein.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3262272.svg)](https://doi.org/10.5281/zenodo.3262272)\n\n# Exploration of ML Explainability Methods on the Statlog (Heart) Data Set\n\nThe goal of this repository is to explore various Explainable AI (XAI) methods on models trained on an classification task on the [UCI ML - Statlog\n(Heart) Data Set](http://archive.ics.uci.edu/ml/datasets/statlog+(heart)).\n\n## Running the code on your system\n\n1. Make sure that Python 3.6 and pip are installed in your system\n2. Install the required dependencies: `pip install -r requirements.txt`\n3. Start jupyter: `jupyter notebook notebooks`\n4. Open the url shown in the output of the previous command in your webbrowser\n\n\n## Running the code via Docker\n\n1. Build the docker image: `docker build -t xai-statlog-heart .`\n2. Run the image: `docker run -p 8888:8888 xai-statlog-heart`\n3. Open the url shown in the output of the previous command in your webbrowser\n\n## Notebooks\n\nIn the `notebooks` folder you'll find the following notebooks:\n\n**01-data_exploration.ipynb**\n\nThis notebook contains a short exploratory analysis of the UCI ML - Statlog (Heart) Data Set.\n\n**02-data_preprocessing.ipynb**\n\nRunning this notebook transforms the original dataset (`data/raw/heart.dat`) into a collection of transformed datasets which are used in the subsequent notebooks (`data/processsed`).\n\n**03-classifier_evaluation.ipynb**\n\nHere we evaluate different classification algorithms on the dataset and chose the three best performing to create an ensemble classifier which is used in the remaining two notebooks.\n\n**04-fold_interpretation.ipynb**\n\nUses 3-Fold cross validation to train three different classifiers and compares the explanations retrieved for each using the following methods:\n* [PDP - Partial Dependence Plots](https://christophm.github.io/interpretable-ml-book/pdp.html)\n* [ICE - Individual Conditional Expectation Plot](https://christophm.github.io/interpretable-ml-book/ice.html)\n* [ALE - Accumulated Local Effects Plot](https://christophm.github.io/interpretable-ml-book/ale.html)\n* [Global Surrogate Model](https://christophm.github.io/interpretable-ml-book/global.html)\n* [Example-Based Model](https://christophm.github.io/interpretable-ml-book/example-based.html)\n\n**05-good_versus_bad_model.ipynb**\n\nCompares the explanations listed above between the original classifier and one that has been adapted to perform worse.\n\n## Credits\nThis repository contains a modified version of [ALEPython](https://github.com/blent-ai/ALEPython).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdietrichstein%2Fxai-statlog-heart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdietrichstein%2Fxai-statlog-heart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdietrichstein%2Fxai-statlog-heart/lists"}