Skip to navigation

Dependency graph

Trace the displayed computation from inputs through modules to output.
View as Markdown

Generate a dependency graph for a record to follow the displayed computation from inputs through modules to the model output. Use the same model and feature values when comparing it with a local explanation.

Before you begin

Have a running deployment and a record matching its input schema. If you are comparing a graph with a local query, retain exactly the same deployment and feature values.

Generate a dependency graph

  1. Open Explanation Lab > Dependency Graph and select the intended deployed model.

  2. Enter the feature values for the record you want to inspect.

  3. Review Detail Level, Include Modules, Include Bins and Decompose Features. The example enables Include Modules and leaves Include Bins and Decompose Features off.

  4. Select Generate Graph.

  5. Inspect the nodes, connecting edges and displayed values. Select a node to view its details, and use the graph’s zoom controls and minimap to navigate.

Interpret the graph

The generated graph shows feature and module nodes, total attribution, model intercept, output activation, and result. The legend distinguishes Feature, Module, Bin, Output, and Dependency.

In this example the displayed Output Activation is sigmoid. The result is approximately 0.0796, matching the local query shown earlier. The graph also displays total attribution of approximately -2.4479 and model intercept of approximately -1.0337.

Use the graph to follow the computation represented on the screen. Treat it as a model dependency view; connecting edges are not proof of causality in the underlying business process.

Consistency check: use the same model and feature values when comparing a graph with a local explanation. Otherwise you may be comparing different decisions.

Dependency graph inputs and generation options.

Dependency graph inputs and generation options.

Generated dependency graph showing connected model nodes.

Generated dependency graph showing connected model nodes.

Choose graph options

ControlEffect
Detail LevelSets the requested level from 1 (minimal) to 5 (maximum detail). Start with a lower level to read the overall flow.
Include ModulesIncludes module nodes in the displayed computation.
Include BinsIncludes bin-level detail. This control requires Include Modules.
Decompose FeaturesRequests decomposition of features for a more detailed view.
Zoom controls and minimapMove around the graph without changing the submitted record.

Change one display option at a time and regenerate the graph to inspect the additional detail. A denser graph may show more of the computation while making the overall path harder to read.

Next steps

Continue to XNN-assisted LLM explanations.