Skip to content

predicting_compute_cost

PredictingComputeCost QACategory definition.

PredictingComputeCost

Bases: QACategory

The PredictingComputeCost QACategory reflects the costs of model predicting associated with compute resources.

Source code in mlte/qa_category/costs/predicting_compute_cost.py
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
class PredictingComputeCost(QACategory):
    """
    The PredictingComputeCost QACategory reflects the costs
    of model predicting associated with compute resources.
    """

    def __init__(self, rationale: str):
        """
        Initialize a PredictingComputeCost instance.
        """
        super().__init__(
            instance=self,
            description="""
                The PredictingComputeCost QACategory assesses the
                computational requirements of model predicting.
                This might be measured in terms of CPU utilization
                for QACategory processes that run locally,
                or the cost of compute resources required for QACategory
                processes that run on on-demand cloud
                infrastructure.
                """,
            rationale=rationale,
        )

__init__(rationale)

Initialize a PredictingComputeCost instance.

Source code in mlte/qa_category/costs/predicting_compute_cost.py
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
def __init__(self, rationale: str):
    """
    Initialize a PredictingComputeCost instance.
    """
    super().__init__(
        instance=self,
        description="""
            The PredictingComputeCost QACategory assesses the
            computational requirements of model predicting.
            This might be measured in terms of CPU utilization
            for QACategory processes that run locally,
            or the cost of compute resources required for QACategory
            processes that run on on-demand cloud
            infrastructure.
            """,
        rationale=rationale,
    )