Skip to content

interpretability

Interpretability QACategory definition.

Interpretability

Bases: QACategory

The Interpretability QACategory

Source code in mlte/qa_category/interpretability/interpretability.py
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class Interpretability(QACategory):
    """
    The Interpretability QACategory
    """

    def __init__(self, rationale: str):
        """Initialize a Interpretability instance."""
        super().__init__(
            instance=self,
            description="""
                Interpretability is the degree to which a human can understand the cause of a decision.
                For ML models, it is about providing information for a human user to interpret and understand
                what data was influential in the ML model's result. A model developer should return interpretability
                evidence along with the model inference result.
                """,
            rationale=rationale,
        )

__init__(rationale)

Initialize a Interpretability instance.

Source code in mlte/qa_category/interpretability/interpretability.py
13
14
15
16
17
18
19
20
21
22
23
24
def __init__(self, rationale: str):
    """Initialize a Interpretability instance."""
    super().__init__(
        instance=self,
        description="""
            Interpretability is the degree to which a human can understand the cause of a decision.
            For ML models, it is about providing information for a human user to interpret and understand
            what data was influential in the ML model's result. A model developer should return interpretability
            evidence along with the model inference result.
            """,
        rationale=rationale,
    )