OmniXAI  by salesforce

Python library for explainable AI (XAI)

created 3 years ago
938 stars

Top 39.9% on sourcepulse

GitHubView on GitHub
Project Summary

OmniXAI is a comprehensive Python library for explainable AI (XAI), designed to simplify the process of understanding machine learning model decisions across various data types and model architectures. It targets data scientists, ML researchers, and practitioners by offering a unified interface for a wide array of explanation methods, including feature attribution, counterfactual explanations, and feature visualization, along with a GUI dashboard for interactive exploration.

How It Works

OmniXAI provides specialized explainer classes (TabularExplainer, VisionExplainer, NLPExplainer, TimeseriesExplainer) that act as factories for multiple explanation techniques. Users define the ML model, data, and desired explanation methods. The library handles the integration and execution of techniques like SHAP, LIME, Grad-CAM, and even an experimental GPT explainer for natural language explanations, abstracting away complex implementation details. This unified approach simplifies the workflow for generating and comparing diverse explanations.

Quick Start & Requirements

Highlighted Details

  • Supports tabular, image, text, and time-series data.
  • Integrates traditional ML (Scikit-learn) and deep learning (PyTorch/TensorFlow) models.
  • Features a GUI dashboard for visualizing explanations and model performance.
  • Includes an experimental GPT explainer for generating natural language explanations from model outputs.

Maintenance & Community

Licensing & Compatibility

  • License: BSD 3-Clause License.
  • Permissive license suitable for commercial use and integration into closed-source applications.

Limitations & Caveats

The GPT explainer is experimental and may not always produce accurate explanations. Some advanced features or specific model integrations might require custom preprocessing or postprocessing logic.

Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
21 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), and
1 more.

alibi by SeldonIO

0.1%
3k
Python library for ML model inspection and interpretation
created 6 years ago
updated 1 month ago
Feedback? Help us improve.