Strengths and weaknesses
The Strengths and weaknesses view returns strength, uncertainty, and adjusted error metrics for a deployed model prediction.
Use it when you have both query inputs and target observations, and you want to understand whether the prediction appears strong, uncertain, or potentially unreliable.
When to use
Generate the view
Generate the Strengths and weaknesses view from a deployed model.
The request needs view_type set to SAW, query data aligned with the deployed model input schema, and target observations for the query rows.
Strengths and weaknesses require targets. Without target observations, the view cannot compute the prediction error metrics.
Output
The response follows the shared Response structure format.
The Strengths and weaknesses view returns two dataframes.
Interpret the result
The Strengths and weaknesses view is easiest to read by starting with strength, then using uncertainty and adjusted error to understand reliability.
Start with strength
Use strength to understand how strong the prediction is.
Higher values indicate a stronger prediction. Lower values indicate a weaker prediction and may deserve more careful review, especially if the row is important or high-impact.
Check uncertainty
Use uncertainty to understand estimator disagreement.
Higher uncertainty means the model’s estimators disagree more. This can indicate that the query row is in a region where the model is less stable or less confident.
Uncertainty is most informative for models with multiple estimators.
Review adjusted error
Use adjusted_error to understand the prediction error after adjustment.
This metric uses the target observation supplied in the request. It is useful when reviewing how well the prediction matched the observed outcome for a specific row or batch.
Compare rows
For batch queries, compare strength, uncertainty, and adjusted_error across rows.
Rows with low strength, high uncertainty, or high adjusted error are good candidates for review. Rows with high strength and low uncertainty are usually easier to trust, although they should still be interpreted in context.
Use with attribution views
Use Strengths and weaknesses together with Feature attribution, Module attribution, or Decision actions.
Attribution views explain what contributed to the prediction. Strengths and weaknesses help you understand whether that prediction appears strong, uncertain, or error-prone.
Options
The Strengths and weaknesses view supports options for error calculation and scaling.
Winsorization
Use winsorize_limit to control how extreme values are handled when calculating adjusted error.
This can reduce the influence of outliers in error-related calculations.
Scaling
Use scaled when you want predictions and targets scaled between 0 and 1 for the calculation.
This can make metrics easier to compare across targets or model outputs when scaling is appropriate.
Field reference
The Strengths and weaknesses view returns dataframes, so individual columns are not documented as standalone API schema properties.
view_data
The view_data dataframe contains the primary strength and weakness metrics.
justification_data
The justification_data dataframe contains supporting estimator prediction data.

