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.

Evaluation

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

type Evaluation 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"` 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 GetEvaluation operation.

The content consists of the detailed metadata and data file information and the current status of the Evaluation.

ComputeTime

Type: *int64

Long integer type that is a 64-bit signed number.

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 ID of the DataSource that is used to evaluate the MLModel.

EvaluationId

Type: *string

The ID that is assigned to the Evaluation at creation.

FinishedAt

Type: *time.Time

A timestamp represented in epoch time.

InputDataLocationS3

Type: *string

The location and name of the data in Amazon Simple Storage Server (Amazon S3) that is used in the evaluation.

LastUpdatedAt

Type: *time.Time

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

MLModelId

Type: *string

The ID of the MLModel that is 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

A timestamp represented in epoch time.

Status

Type: *string

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

  • PENDING - Amazon Machine Learning (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 Evaluation) GoString() string

GoString returns the string representation

SetComputeTime

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

SetComputeTime sets the ComputeTime field's value.

SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

SetCreatedByIamUser

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

SetCreatedByIamUser sets the CreatedByIamUser field's value.

SetEvaluationDataSourceId

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

SetEvaluationDataSourceId sets the EvaluationDataSourceId field's value.

SetEvaluationId

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

SetEvaluationId sets the EvaluationId field's value.

SetFinishedAt

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

SetFinishedAt sets the FinishedAt field's value.

SetInputDataLocationS3

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

SetInputDataLocationS3 sets the InputDataLocationS3 field's value.

SetLastUpdatedAt

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

SetLastUpdatedAt sets the LastUpdatedAt field's value.

SetMLModelId

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

SetMLModelId sets the MLModelId field's value.

SetMessage

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

SetMessage sets the Message field's value.

SetName

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

SetName sets the Name field's value.

SetPerformanceMetrics

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

SetPerformanceMetrics sets the PerformanceMetrics field's value.

SetStartedAt

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

SetStartedAt sets the StartedAt field's value.

SetStatus

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

SetStatus sets the Status field's value.

String

func (s Evaluation) String() string

String returns the string representation

On this page: