PAIR-code/what-if-tool

Source code/webpage/demos for the What-If Tool

60
/ 100
Established

This tool helps non-technical users explore and understand how a machine learning model makes its predictions. You input a trained classification or regression model and a dataset, then it visually displays the model's outputs and performance. It's designed for anyone who needs to evaluate model behavior, identify biases, or explain predictions without writing any code.

992 stars.

Use this if you need to quickly visualize and interact with a trained ML model to understand its predictions and evaluate fairness or performance across different data subsets.

Not ideal if you are looking to train a new machine learning model from scratch or if you need to deploy models into production systems.

model-evaluation bias-detection machine-learning-explainability data-analysis prediction-analysis
No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 24 / 25

How are scores calculated?

Stars

992

Forks

180

Language

HTML

License

Apache-2.0

Last pushed

Mar 11, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/PAIR-code/what-if-tool"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.