Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

XAI Explorer

Python 3.8+ Streamlit License: MIT

Interactive Streamlit dashboard for machine learning model interpretability using SHAP (SHapley Additive exPlanations).

Features

  • CSV dataset upload and automatic preprocessing
  • Auto-detection of classification/regression tasks
  • Random Forest model training
  • Global feature importance via SHAP beeswarm plots
  • Local explanations via SHAP waterfall plots
  • Export visualizations as PNG
  • Support for numerical and categorical features

Installation

git clone https://github.com/your-username/XAI-Explorer.git
cd XAI-Explorer
pip install -r requirements.txt
streamlit run app.py

Requirements

streamlit>=1.28.0
shap>=0.42.0
scikit-learn>=1.3.0
pandas>=2.0.0
numpy>=1.24.0
matplotlib>=3.7.0

Usage

  1. Upload CSV dataset via Streamlit interface
  2. Select target column and specify task type
  3. Model trains automatically on preprocessed data
  4. View global SHAP importance and local explanations
  5. Export visualizations for analysis

Architecture

  • Frontend: Streamlit web interface
  • ML Engine: scikit-learn Random Forest
  • XAI: SHAP for model interpretability
  • Data Processing: pandas/numpy pipeline
  • Visualization: matplotlib/SHAP plots

Roadmap

  • Support for XGBoost, LightGBM, CatBoost
  • Pre-trained model import (.pkl/.joblib)
  • Model evaluation metrics
  • Batch processing capabilities

Contributing

Fork → Branch → Commit → Push → Pull Request

License

MIT License - see LICENSE file.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages