Analytics
Interface
The Analyze tab has three parts:
Slice Query box (top-left) — Accepts a SQL query as input, allowing quick access to the slice.
Data table (bottom-left) — Lets you browse instances of data returned by the query.
Charts column (right) — Allows you to view explanations for the slice and choose from a range of rich visualizations for different data insights.
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-168138c69db355ca10ae5b8d49534b64b26e7bbe%252F92cacf9-Screen_Shot_2023-10-04_at_4.11.10_PM.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=73535819&sv=1)
Workflow
Write a SQL query in the Slice Query box and click Run.
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-9a8ac65f05d9771575e5c7d30510b0e05bd70f05%252Fa76a852-S_E_Step_2.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=50c6352b&sv=1)
View the data returned by the query in the Data table.
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-f9c7a68f4d0f5628ac30ef79c9c604bedf95b323%252F8771686-S_E_Step_3.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=dcf610dc&sv=1)
Explore a variety of visualizations using the Explanations column on the right.
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-e2e079ff282cee2cdf3b0ef589d7a9a2e162b0ca%252F3d16c4e-S_E_Step_4.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=6080dfb&sv=1)
SQL Queries
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-ba47359618029318b595916df41e183664a510d1%252F23c4424-Screen_Shot_2023-10-04_at_4.11.50_PM.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=ef74e83a&sv=1)
The Slice Query box lets you:
Write a SQL query
Search and auto-complete field names (i.e. your dataset, the names of your inputs or outputs)
Run the SQL query
In the UI, you will see examples for different types of queries:
Example query to analyze your dataset:
Example query to analyze production traffic:
🚧 Note
Only read-only SQL operations are supported. Slices are auto-detected based on your model, dataset, and query. Certain SQL operations like aggregations and joins might not result in a valid slice.
Data
If the query successfully returns a slice, the results display in the Data table below the Slice Query box.
You can view all data rows and their values or download the data as a CSV file to plug it into another system. By clicking on Explain (light bulb icon) in any row in the table, you can access explanations for that individual input (more on this in the next section).
Explanations
The Analyze tab offers a variety of powerful visualizations to quickly let you analyze and explain slices of your dataset.
Feature Correlation — View the correlation between model inputs and/or outputs.
Feature Distribution — Visualize the distribution of an input or output.
Feature Impact — Understand the aggregate impact of model inputs to the output.
Partial Dependence Plot — Understand the aggregate impact of a single model input in its output.
Slice Evaluation — View the model metrics for a given slice.
Dataset Details — Analyze statistical qualities of the dataset.
You can also access the following point explanation methods by clicking on Explain (light bulb icon) for a given data point:
Point Overview — Get an overview of the model inputs responsible for a prediction.
Feature Attribution — Understand how responsible each model input is for the model output.
Feature Sensitivity – Understand how changes in the model’s input values will impact the model’s output.
📘 Info
For more information on point explanations, click here.
Feature Correlation
The feature correlation visualization plots a single variable against another variable. This plot helps identify any visual clusters that might be useful for further analysis. This visualization supports integer, float, and categorical variables.
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-e0fc4616968e70beef44a176435642af8c4b6c3a%252Fe36a237-S_E_Correlation.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=1c06a265&sv=1)
Feature Distribution
The feature distribution visualization is one of the most basic plots, used for viewing how the data is distributed for a particular variable. This plot helps surface any data abnormalities or data insights to help root-cause issues or drive further analysis.
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-331d69b4b97617e52fee05766543ea7130024d94%252F26e2658-S_E_Distribution.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=d13ccb52&sv=1)
Feature Impact
This visualization provides the feature impact of the dataset (global explanation) or the selected slice (local explanation), showcasing the overall sensitivity of the model output to each feature (more on this in the Global Explainability section). We calculate Feature Impact by randomly intervening on every input using ablations and noting the average absolute change in the prediction.
A high impact suggests that the model’s behavior on a particular slice is sensitive to changes in feature values. Feature impact only provides the absolute impact of the input—not its directionality. Since positive and negative directionality can cancel out, we recommend using a Partial Dependence Plot (PDP) to understand how an input impacts the output in aggregate.
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-03248d48a1babe4c4b28faa2af645de602d27fe6%252F09cb939-S_E_FeatureImpact.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=2a9ded44&sv=1)
Partial Dependence Plot (PDP)
Partial dependence plots show the marginal effect of a selected model input on the model output. This plot helps understand whether the relationship between the input and the output is linear, monotonic, or more complex.
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-1cab5d4538ac0207a6e4ec94b5cd3a6825e15f3b%252Fe1c0f84-PDP.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=f07cde72&sv=1)
Slice Evaluation
The slice evaluation visualization gives you key model performance metrics and plots, which can be helpful to identify performance issues or model bias on protected classes. In addition to key metrics, you get a confusion matrix along with precision recall, ROC, and calibration plots. This visualization supports classification, regression, and multi-class models.
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-1cbbb88ff5e5f79a05ce241a41a5ab060c36fdc9%252F96aa3d0-Slice_Evaluation.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=887e1af6&sv=1)
Dataset Details
This visualization provides statistical details of your dataset to help you understand the data’s distribution and correlations.
Select a target variable to see the dependence between that variable and the others, measured by mutual information (MI). A low MI is an indicator of low correlation between two variables, and can be used to decide if particular variables should be dropped from the model.
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-1c4ee4b0dd0b6b11bd5ecb9479adc36c6cd78d76%252F69f1a0a-Dataset_details_1.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=279990f2&sv=1)
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-2b92bcbb99146e9ea01401689e5ab4de7c0a68fc%252Fd3a97a8-Dataset_details_2.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=443d89f&sv=1)
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-6753df9af0b4e0e504de4a18a059d67a3e914d9b%252Fcd0b499-Dataset_details_3.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=62bfb8f1&sv=1)
Point Overview
📘 Info
To view this visualization, click on Explain (light bulb icon) for any row in the Data table.
This visualization provides a human-readable overview of a point explanation.
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-479dc0c6aecc805663972f723372ba3d4b6789d8%252F335714a-Explain_Overview.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=65891e13&sv=1)
Feature Attribution
📘 Info
To view this visualization, click on Explain (light bulb icon) for any row in the Data table.
Feature attributions can help you understand which model inputs were responsible for arriving at the model output for a particulat prediction.
When you want to check how the model is behaving for one prediction instance, use this visualization first.
More information is available on the Point Explainability page.
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-7c3bf4364f0df2725f8cfc6bd12921f08545d6ab%252F08d409f-Explain_Chart.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=aba4a753&sv=1)
Feature Sensitivity
📘 Info
To view this visualization, click on Explain (light bulb icon) for any row in the Data table.
This visualization helps you understand how changes in the model’s input values could impact the model’s prediction for this instance.
ICE plots
On initial load, the visualization shows an Individual Conditional Expectation (ICE) plot for each model input.
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-66c70e437feae107d7615e5d2cdfe9fe77143c9e%252Fac5f0b2-WhatIF_Chart.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=b5921319&sv=1)
ICE plots shows how the model prediction is affected by changes in an input for a particular instance. They’re computed by changing the value of an input—while keeping all other inputs constant—and plotting the resulting predictions.
Recall the partial dependence plots discussed earlier, which showed the average effect of the feature across the entire slice. In essence, the PDP is the average of all the ICE plots. The PDP can mask interactions at the instance level, which an ICE plot will capture.
You can update any input value to see its impact on the model output, and then view the updated ICE plots for the changed input values.
This is a powerful technique for performing counterfactual analysis of a model prediction. When you plot the updated ICE plots, you’ll see two lines (or sets of bars in the case of categorical inputs).
In the image below, the solid line is the original ICE plot, and the dotted line is the ICE plot using the updated input values. Comparing these two sets of plots can help you understand if the model’s behavior changes as expected with a hypothetical model input.
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-0c765a646277fd56ce365daaca4c2465fa780128%252F9311aea-WhatIF_After.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=dcd00c0b&sv=1)
Dashboard
Once visualizations are created, you can pin them to the project dashboard, which can be shared with others.
To pin a chart, click on the thumbtack icon and click Send. If the Update with Query option is enabled, the pinned chart will update automatically whenever the underlying query is changed on the Analyze tab.
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2F1798616019-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmtRqRYN3Dch4wlduXsol%252Fuploads%252Fgit-blob-121eefb673acc4bfb65203573049d2cf93056397%252Fc4247d1-Pinning_Chart.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=4e2f40e3&sv=1)
↪ Questions? Join our community Slack to talk to a product expert
Last updated