Skip to content

LeaderboardCandidateEvaluationResult

Source code in docs_src/capo_sagemaker/types/leaderboard_candidate_evaluation_result.py
class LeaderboardCandidateEvaluationResult(TypedDict, closed=True):
    criterion_name: NotRequired[
        "capo_sagemaker.types.leaderboard_criterion_name.LeaderboardCriterionName"
    ]
    """<p>The name of the evaluation criterion.</p>"""
    metrics: NotRequired[
        "capo_sagemaker.types.leaderboard_metric_map.LeaderboardMetricMap"
    ]
    """<p>The metric values for the criterion, as a map of metric name to value.</p>"""
    source_id: NotRequired[
        "capo_sagemaker.types.leaderboard_source_id.LeaderboardSourceId"
    ]
    """<p>The identifier of the source run that produced the result, such as an MLflow run ID.</p>"""
    recorded_at: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>When the evaluation result was produced.</p>"""

criterion_name instance-attribute

criterion_name: NotRequired[LeaderboardCriterionName]

The name of the evaluation criterion.

metrics instance-attribute

metrics: NotRequired[LeaderboardMetricMap]

The metric values for the criterion, as a map of metric name to value.

recorded_at instance-attribute

recorded_at: NotRequired[Timestamp]

When the evaluation result was produced.

source_id instance-attribute

source_id: NotRequired[LeaderboardSourceId]

The identifier of the source run that produced the result, such as an MLflow run ID.