explanationSpecOverride property

ExplanationSpecOverride? explanationSpecOverride
final

If specified, overrides the explanation_spec of the DeployedModel. Can be used for explaining prediction results with different configurations, such as:

  • Explaining top-5 predictions results as opposed to top-1;
  • Increasing path count or step count of the attribution methods to reduce approximate errors;
  • Using different baselines for explaining the prediction results.

Implementation

final ExplanationSpecOverride? explanationSpecOverride;