Skip to content

UpdateMLModelInput

Source code in docs_src/capo_machine_learning/types/update_ml_model_input.py
class UpdateMLModelInput(TypedDict, closed=True):
    ml_model_id: "capo_machine_learning.types.entity_id.EntityId"
    """<p>The ID assigned to the <code>MLModel</code> during creation.</p>"""
    ml_model_name: NotRequired["capo_machine_learning.types.entity_name.EntityName"]
    """<p>A user-supplied name or description of the <code>MLModel</code>.</p>"""
    score_threshold: NotRequired[
        "capo_machine_learning.types.score_threshold.ScoreThreshold"
    ]
    """<p>The <code>ScoreThreshold</code> used in binary classification <code>MLModel</code> that marks the boundary between a positive prediction and a negative prediction.</p> <p>Output values greater than or equal to the <code>ScoreThreshold</code> receive a positive result from the <code>MLModel</code>, such as <code>true</code>. Output values less than the <code>ScoreThreshold</code> receive a negative response from the <code>MLModel</code>, such as <code>false</code>.</p>"""

ml_model_id instance-attribute

ml_model_id: EntityId

The ID assigned to the MLModel during creation.

ml_model_name instance-attribute

ml_model_name: NotRequired[EntityName]

A user-supplied name or description of the MLModel.

score_threshold instance-attribute

score_threshold: NotRequired[ScoreThreshold]

The ScoreThreshold used in binary classification MLModel that marks the boundary between a positive prediction and a negative prediction.

Output values greater than or equal to the ScoreThreshold receive a positive result from the MLModel, such as true. Output values less than the ScoreThreshold receive a negative response from the MLModel, such as false.