Skip to content

LeaderboardEvaluationResult

Source code in docs_src/capo_sagemaker/types/leaderboard_evaluation_result.py
class LeaderboardEvaluationResult(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>"""
    producer: NotRequired[
        "capo_sagemaker.types.leaderboard_candidate_producer.LeaderboardCandidateProducer"
    ]
    """<p>The source that produced the evaluation result.</p>"""
    source_id: NotRequired[
        "capo_sagemaker.types.leaderboard_source_id.LeaderboardSourceId"
    ]
    """<p>The ID that the producer's system, such as MLflow, assigns to the evaluation run that produced the result. The ID must begin with a letter or number and can contain only letters, numbers, hyphens (-), and underscores (_).</p>"""
    source_url: NotRequired[
        "capo_sagemaker.types.leaderboard_source_url.LeaderboardSourceUrl"
    ]
    """<p>A URL where you can view the evaluation run that produced the result. The URL must begin with <code>https://</code>.</p>"""
    references: NotRequired[
        "capo_sagemaker.types.leaderboard_reference_map.LeaderboardReferenceMap"
    ]
    """<p>Key-value pairs that link the result to related resources. Keys can contain only Unicode letters, numbers, spaces, and the following characters: <code>_ . : / = + - @</code>. Values can't contain control characters or format characters.</p>"""
    recorded_at: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>When the evaluation result was produced. <code>ListCandidates</code> uses this value to find the candidate's most recent evaluation run.</p>"""
    ingested_at: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>When SageMaker added the result to the leaderboard. SageMaker sets this value. If you specify it in <code>AddCandidate</code>, SageMaker ignores it.</p>"""

criterion_name instance-attribute

criterion_name: NotRequired[LeaderboardCriterionName]

The name of the evaluation criterion.

ingested_at instance-attribute

ingested_at: NotRequired[Timestamp]

When SageMaker added the result to the leaderboard. SageMaker sets this value. If you specify it in AddCandidate, SageMaker ignores it.

metrics instance-attribute

metrics: NotRequired[LeaderboardMetricMap]

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

producer instance-attribute

producer: NotRequired[LeaderboardCandidateProducer]

The source that produced the evaluation result.

recorded_at instance-attribute

recorded_at: NotRequired[Timestamp]

When the evaluation result was produced. ListCandidates uses this value to find the candidate's most recent evaluation run.

references instance-attribute

references: NotRequired[LeaderboardReferenceMap]

Key-value pairs that link the result to related resources. Keys can contain only Unicode letters, numbers, spaces, and the following characters: _ . : / = + - @. Values can't contain control characters or format characters.

source_id instance-attribute

source_id: NotRequired[LeaderboardSourceId]

The ID that the producer's system, such as MLflow, assigns to the evaluation run that produced the result. The ID must begin with a letter or number and can contain only letters, numbers, hyphens (-), and underscores (_).

source_url instance-attribute

source_url: NotRequired[LeaderboardSourceUrl]

A URL where you can view the evaluation run that produced the result. The URL must begin with https://.