AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

GetEvaluationOutput

import "github.com/aws/aws-sdk-go/service/machinelearning"

type GetEvaluationOutput struct { ComputeTime *int64 `type:"long"` CreatedAt *time.Time `type:"timestamp"` CreatedByIamUser *string `type:"string"` EvaluationDataSourceId *string `min:"1" type:"string"` EvaluationId *string `min:"1" type:"string"` FinishedAt *time.Time `type:"timestamp"` InputDataLocationS3 *string `type:"string"` LastUpdatedAt *time.Time `type:"timestamp"` LogUri *string `type:"string"` MLModelId *string `min:"1" type:"string"` Message *string `type:"string"` Name *string `type:"string"` PerformanceMetrics *PerformanceMetrics `type:"structure"` StartedAt *time.Time `type:"timestamp"` Status *string `type:"string" enum:"EntityStatus"` }

Represents the output of a GetEvaluation operation and describes an Evaluation.

ComputeTime

Type: *int64

The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the Evaluation, normalized and scaled on computation resources. ComputeTime is only available if the Evaluation is in the COMPLETED state.

CreatedAt

Type: *time.Time

The time that the Evaluation was created. The time is expressed in epoch time.

CreatedByIamUser

Type: *string

The AWS user account that invoked the evaluation. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.

EvaluationDataSourceId

Type: *string

The DataSource used for this evaluation.

EvaluationId

Type: *string

The evaluation ID which is same as the EvaluationId in the request.

FinishedAt

Type: *time.Time

The epoch time when Amazon Machine Learning marked the Evaluation as COMPLETED or FAILED. FinishedAt is only available when the Evaluation is in the COMPLETED or FAILED state.

InputDataLocationS3

Type: *string

The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).

LastUpdatedAt

Type: *time.Time

The time of the most recent edit to the Evaluation. The time is expressed in epoch time.

LogUri

Type: *string

A link to the file that contains logs of the CreateEvaluation operation.

MLModelId

Type: *string

The ID of the MLModel that was the focus of the evaluation.

Message

Type: *string

A description of the most recent details about evaluating the MLModel.

Name

Type: *string

A user-supplied name or description of the Evaluation.

PerformanceMetrics

Measurements of how well the MLModel performed on known observations. One of the following metrics is returned, based on the type of the MLModel:

  • BinaryAUC: The binary MLModel uses the Area Under the Curve (AUC) technique to measure performance.

  • RegressionRMSE: The regression MLModel uses the Root Mean Square Error

(RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.
  • MulticlassAvgFScore: The multiclass MLModel uses the F1 score technique to measure performance.

For more information about performance metrics, please see the Amazon Machine Learning Developer Guide (https://docs.aws.amazon.com/machine-learning/latest/dg).

StartedAt

Type: *time.Time

The epoch time when Amazon Machine Learning marked the Evaluation as INPROGRESS. StartedAt isn't available if the Evaluation is in the PENDING state.

Status

Type: *string

The status of the evaluation. This element can have one of the following values:

  • PENDING - Amazon Machine Language (Amazon ML) submitted a request to evaluate an MLModel.

  • INPROGRESS - The evaluation is underway.

  • FAILED - The request to evaluate an MLModel did not run to completion. It is not usable.

  • COMPLETED - The evaluation process completed successfully.

  • DELETED - The Evaluation is marked as deleted. It is not usable.

Method

GoString

func (s GetEvaluationOutput) GoString() string

GoString returns the string representation

SetComputeTime

func (s *GetEvaluationOutput) SetComputeTime(v int64) *GetEvaluationOutput

SetComputeTime sets the ComputeTime field's value.

SetCreatedAt

func (s *GetEvaluationOutput) SetCreatedAt(v time.Time) *GetEvaluationOutput

SetCreatedAt sets the CreatedAt field's value.

SetCreatedByIamUser

func (s *GetEvaluationOutput) SetCreatedByIamUser(v string) *GetEvaluationOutput

SetCreatedByIamUser sets the CreatedByIamUser field's value.

SetEvaluationDataSourceId

func (s *GetEvaluationOutput) SetEvaluationDataSourceId(v string) *GetEvaluationOutput

SetEvaluationDataSourceId sets the EvaluationDataSourceId field's value.

SetEvaluationId

func (s *GetEvaluationOutput) SetEvaluationId(v string) *GetEvaluationOutput

SetEvaluationId sets the EvaluationId field's value.

SetFinishedAt

func (s *GetEvaluationOutput) SetFinishedAt(v time.Time) *GetEvaluationOutput

SetFinishedAt sets the FinishedAt field's value.

SetInputDataLocationS3

func (s *GetEvaluationOutput) SetInputDataLocationS3(v string) *GetEvaluationOutput

SetInputDataLocationS3 sets the InputDataLocationS3 field's value.

SetLastUpdatedAt

func (s *GetEvaluationOutput) SetLastUpdatedAt(v time.Time) *GetEvaluationOutput

SetLastUpdatedAt sets the LastUpdatedAt field's value.

SetLogUri

func (s *GetEvaluationOutput) SetLogUri(v string) *GetEvaluationOutput

SetLogUri sets the LogUri field's value.

SetMLModelId

func (s *GetEvaluationOutput) SetMLModelId(v string) *GetEvaluationOutput

SetMLModelId sets the MLModelId field's value.

SetMessage

func (s *GetEvaluationOutput) SetMessage(v string) *GetEvaluationOutput

SetMessage sets the Message field's value.

SetName

func (s *GetEvaluationOutput) SetName(v string) *GetEvaluationOutput

SetName sets the Name field's value.

SetPerformanceMetrics

func (s *GetEvaluationOutput) SetPerformanceMetrics(v *PerformanceMetrics) *GetEvaluationOutput

SetPerformanceMetrics sets the PerformanceMetrics field's value.

SetStartedAt

func (s *GetEvaluationOutput) SetStartedAt(v time.Time) *GetEvaluationOutput

SetStartedAt sets the StartedAt field's value.

SetStatus

func (s *GetEvaluationOutput) SetStatus(v string) *GetEvaluationOutput

SetStatus sets the Status field's value.

String

func (s GetEvaluationOutput) String() string

String returns the string representation

On this page: