https://github.com/parag000/xai-breast-cancer-detection
This project develops an explainable AI model for breast cancer detection, emphasizing transparency and feature importance. It uses feature masking, cooperative game theory, and SHAP values to analyze model behavior. The goal is to make predictions interpretable and actionable for medical applications.
https://github.com/parag000/xai-breast-cancer-detection
banzhaf-index breast-cancer-prediction game-theory-algorithms python remove-individual rexplain shapley-value xai
Last synced: 3 months ago
JSON representation
This project develops an explainable AI model for breast cancer detection, emphasizing transparency and feature importance. It uses feature masking, cooperative game theory, and SHAP values to analyze model behavior. The goal is to make predictions interpretable and actionable for medical applications.
- Host: GitHub
- URL: https://github.com/parag000/xai-breast-cancer-detection
- Owner: Parag000
- Created: 2025-01-22T07:27:32.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-22T07:39:41.000Z (4 months ago)
- Last Synced: 2025-01-22T08:27:17.319Z (4 months ago)
- Topics: banzhaf-index, breast-cancer-prediction, game-theory-algorithms, python, remove-individual, rexplain, shapley-value, xai
- Language: Jupyter Notebook
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Explainable AI for Breast Cancer Detection and Analysis
## Overview
This project demonstrates the use of Explainable AI techniques in analyzing and detecting breast cancer. **By leveraging advanced algorithms, the project aims to make machine learning predictions more transparent and actionable for medical professionals.**### Key Features
- **Explainability with Shap, Banzhaf, and Remove Individual algorithms:** Utilizes Shapley values, Banzhaf power index, and individual removal methods to explain model predictions.
- **Breast Cancer Detection:** Implements predictive models for breast cancer diagnosis using well-established datasets.
- **Interpretation and Analysis:** Provides detailed visualizations and explanations to help users understand the model's behavior and important features.---
## Significance
### Medical Impact
**Early and accurate detection of breast cancer** can significantly improve patient outcomes. This project provides:
- **Transparency in Decision-Making:** Enables medical professionals to understand why a model makes a certain prediction, building trust in AI systems.
- **Feature Importance Analysis:** Highlights the most critical factors influencing predictions, guiding clinicians toward key diagnostic indicators.### Ethical and Practical Relevance
- **Accountability:** Ensures that AI-driven decisions in healthcare are understandable and justifiable.
- **Adoption:** Facilitates wider acceptance of AI tools by addressing the "black-box" nature of machine learning models.---
## Key Libraries Used
- SHAP For generating Shapley explanations.
- Banzhaf For computing Banzhaf power indices.
- Remove Explanations Library: For individual feature removal impact analysis.
- Scikit-learn: For machine learning models.
- Matplotlib/Seaborn: For visualizations.## Result
Among feature selection methods, SHAP (Top 10) provided the lowest cross-entropy loss, demonstrating its effectiveness in identifying the most relevant features for prediction.
![]()
Sample of features which indicates the effectiveness of the feature in diagnosis of breast cancer based on the gene type using shapley values
![]()