Discover and explore top open-source AI tools and projects—updated daily.
PAIR-codeInteractive tool for ML model understanding and debugging
Top 37.8% on SourcePulse
The What-If Tool (WIT) addresses the challenge of understanding complex, "black-box" machine learning models by providing an interactive, no-code visual interface. It empowers ML researchers, developers, and even non-technical stakeholders to explore model behavior, performance, and fairness across datasets. WIT enables users to gain intuitive insights into model predictions and identify potential biases or unexpected outcomes without writing any code.
How It Works
WIT operates as a plugin for TensorBoard or an extension for Jupyter and Colab notebooks. Users load their trained ML models (TensorFlow Estimators, AI Platform models, or custom prediction functions) and datasets (TFRecord or CSV). The tool then facilitates interactive exploration through visualizations like Facets Dive and Overview, allowing users to slice, dice, and color data points by model predictions, performance metrics, or feature values. Users can directly edit individual data points, re-run inference, and observe the immediate impact on predictions and associated metrics, including feature attributions.
Quick Start & Requirements
pip install witwidget followed by jupyter nbextension install --py --symlink --sys-prefix witwidget and jupyter nbextension enable --py --sys-prefix witwidget. For JupyterLab: pip install witwidget and jupyter labextension install wit-widget wit-widget.bazel run are provided for various datasets (e.g., UCI Census, CelebA, Iris).Highlighted Details
Maintenance & Community
The project provides links to development guides and release notes, indicating ongoing maintenance. Specific community channels (e.g., Slack, Discord) or major contributors are not detailed in the provided text.
Licensing & Compatibility
License information is not specified in the provided README content.
Limitations & Caveats
Using custom prediction functions with the --whatif-use-unsafe-custom-prediction flag is explicitly marked as "unsafe" due to the lack of sandboxing. When analyzing CSV files directly in TensorBoard without an associated model, data points become non-editable as there is no mechanism for re-inference. Compatibility with specific JupyterLab versions may require consulting external package manager details for jupyterlab-manager.
2 months ago
Inactive
 Shengjia Zhao(Chief Scientist at Meta Superintelligence Lab), 
google
grahamjenson
google-research
triton-inference-server
tensorflow