SHAP Dependence Plot Calculator

Explore how feature values influence predictions, reveal interactions, detect thresholds, compare groups, inspect influential observations, and export clear SHAP dependence visualizations instantly for analysis.

Analysis result

The chart and statistics update after valid data is loaded.

Sample data is ready. Select options and generate the plot.

Interpretation

Generate the plot to receive an interpretation.

Selected observations

IDFeatureSHAPInteraction
Click or box-select chart points.

1. Data input

The first CSV row should contain column names. JSON may be an array of objects.

Data preview

0 valid rows

2. Column mapping

3. Plot and SHAP options

4. Filters and comparison

5. Titles, annotations, and export settings

Formula used

A SHAP value measures one feature’s contribution to a prediction relative to a baseline prediction. Positive values push predictions upward, while negative values push them downward.

f(x) = E[f(X)] + Σ φᵢ

Dependence plot point: (xᵢⱼ, φᵢⱼ)

Pearson correlation: r = Σ[(x - x̄)(y - ȳ)] / √(Σ(x - x̄)² Σ(y - ȳ)²)

Linear trend: y = a + bx

The calculator also reports Spearman correlation, descriptive statistics, outliers, group differences, and a fitted linear trend when numeric data is available.

How to use

  1. Paste CSV or JSON data, or upload a compatible file.
  2. Load the data and confirm the previewed rows and columns.
  3. Map the main feature, SHAP value, interaction, target, and group columns.
  4. Choose filtering, comparison, trend, and chart appearance options.
  5. Generate the plot and inspect statistics, outliers, and selected observations.
  6. Export the chart, filtered data, settings, or complete PDF report.

Example data

IDAgeAge_SHAPIncomeActualPredictedGroup
122-0.612400000.18Test
6370.055900010.55Train
12590.9110800010.92Test

Interpretation guide

The horizontal axis contains observed feature values. The vertical axis contains SHAP contributions for that feature. Color can reveal interactions with another feature.

Upward patterns suggest larger feature values generally increase predictions. Downward patterns suggest they reduce predictions. Curves, bands, or abrupt changes can indicate nonlinearity and thresholds.

Separated color bands may indicate feature interactions. Dense vertical spreads show differing effects at similar feature values. Always validate patterns with domain knowledge and model diagnostics.

Common mistakes

Frequently asked questions

What does a SHAP dependence plot show?

It shows how a feature’s observed values relate to that feature’s contribution to model predictions.

What does a positive SHAP value mean?

It means the feature pushes the prediction above the selected baseline for that observation.

What does a negative SHAP value mean?

It means the feature pushes the prediction below the selected baseline for that observation.

Why are points colored?

Color represents another feature and helps reveal possible interaction effects between two features.

Can categorical features be plotted?

Yes. The calculator supports jittered scatter, box, and violin views for categorical values.

How are outliers detected?

Numeric SHAP outliers use the interquartile range rule unless outlier detection is disabled.

What is automatic interaction selection?

It selects the numeric column with the strongest absolute correlation to the plotted SHAP values.

Does correlation prove causation?

No. Dependence patterns describe model behavior and associations, not real-world causal relationships.

Can groups or model versions be compared?

Yes. Map a group column, then overlay groups or display separate plot panels.

Are uploaded files sent to a server?

No. This implementation processes uploaded data inside the browser after the page loads.

Can the chart be exported?

Yes. Export PNG, SVG, PDF, filtered CSV data, selected observations, and settings JSON.

Related Calculators

Feature Importance Bar ChartPermutation Importance PlotSHAP Summary PlotSHAP Force PlotSHAP Waterfall PlotLIME Feature PlotCoefficient PlotRegularisation Path PlotMutual Information Bar ChartMissing-Value Heatmap

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.