Interface LeaderboardEvaluationResult.Builder

  • Method Details

    • criterionName

      LeaderboardEvaluationResult.Builder criterionName(String criterionName)

      The name of the evaluation criterion.

      Parameters:
      criterionName - The name of the evaluation criterion.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metrics

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

      Parameters:
      metrics - The metric values for the criterion, as a map of metric name to value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • producer

      The source that produced the evaluation result.

      Parameters:
      producer - The source that produced the evaluation result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • producer

      The source that produced the evaluation result.

      Parameters:
      producer - The source that produced the evaluation result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceId

      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 (_).

      Parameters:
      sourceId - 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 (_).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceUrl

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

      Parameters:
      sourceUrl - A URL where you can view the evaluation run that produced the result. The URL must begin with https://.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • references

      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.

      Parameters:
      references - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordedAt

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

      Parameters:
      recordedAt - When the evaluation result was produced. ListCandidates uses this value to find the candidate's most recent evaluation run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ingestedAt

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

      Parameters:
      ingestedAt - When SageMaker added the result to the leaderboard. SageMaker sets this value. If you specify it in AddCandidate, SageMaker ignores it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.