Skip to content

explanations

GitHub Action edited this page Oct 15, 2026 · 3 revisions

iso_doc_type: "Specification" iso_viewpoint: "ComponentView" type: "module" title: "regression_model_template::jobs::explanations β€” SHAP Interpretability Pipeline" source_path: "src/regression_model_template/jobs/explanations.py" description: "Generates global and local feature attribution values via SHAP TreeExplainer." tags: ["iso42010", "okf", "component_view", "xai", "shap"] timestamp: "2026-10-01T17:50:00Z" generated: "agent:wiki-iso-documentation-standard" verified: "true" last_verified_commit: "073b5fd"

regression_model_template::jobs::explanations β€” SHAP Interpretability Pipeline

Source: src/regression_model_template/jobs/explanations.py (Lines: L1-L78)
Layer: Application
Role: Calculates global feature importances and local per-sample Shapley attribution values for trained model estimators.


1. Class Diagram

classDiagram
    class ExplanationsJob {
        +str KIND = "ExplanationsJob"
        +ReaderKind inputs_samples
        +WriterKind models_explanations
        +WriterKind samples_explanations
        +str | int alias_or_version
        +run() Locals
    }
    ExplanationsJob --|> Job : implements
Loading

Related: Models Β· Compliance Audit

Clone this wiki locally