Skip to content

robustness

Robustness QACategory definition.

Robustness

Bases: QACategory

Definition of the Robustness QACategory.

Source code in mlte/qa_category/robustness/robustness.py
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class Robustness(QACategory):
    """
    Definition of the Robustness QACategory.
    """

    def __init__(self, rationale: str):
        """Initialize a Robustness instance."""
        super().__init__(
            instance=self,
            description="""
                Robustness in general is the degree to which a system continues to function in the presence of
                invalid inputs or stressful environmental conditions. For ML models, this means checking that
                model performance does not deteriorate significantly in the presence of noise.
                """,
            rationale=rationale,
        )

__init__(rationale)

Initialize a Robustness instance.

Source code in mlte/qa_category/robustness/robustness.py
13
14
15
16
17
18
19
20
21
22
23
def __init__(self, rationale: str):
    """Initialize a Robustness instance."""
    super().__init__(
        instance=self,
        description="""
            Robustness in general is the degree to which a system continues to function in the presence of
            invalid inputs or stressful environmental conditions. For ML models, this means checking that
            model performance does not deteriorate significantly in the presence of noise.
            """,
        rationale=rationale,
    )