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.

UpdateMLModelInput

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

type UpdateMLModelInput struct { MLModelId *string `min:"1" type:"string" required:"true"` MLModelName *string `type:"string"` ScoreThreshold *float64 `type:"float"` }

MLModelId

Type: *string

The ID assigned to the MLModel during creation.

MLModelId is a required field

MLModelName

Type: *string

A user-supplied name or description of the MLModel.

ScoreThreshold

Type: *float64

The ScoreThreshold used in binary classification MLModel that marks the boundary between a positive prediction and a negative prediction.

Output values greater than or equal to the ScoreThreshold receive a positive result from the MLModel, such as true. Output values less than the ScoreThreshold receive a negative response from the MLModel, such as false.

Method

GoString

func (s UpdateMLModelInput) GoString() string

GoString returns the string representation

SetMLModelId

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

SetMLModelId sets the MLModelId field's value.

SetMLModelName

func (s *UpdateMLModelInput) SetMLModelName(v string) *UpdateMLModelInput

SetMLModelName sets the MLModelName field's value.

SetScoreThreshold

func (s *UpdateMLModelInput) SetScoreThreshold(v float64) *UpdateMLModelInput

SetScoreThreshold sets the ScoreThreshold field's value.

String

func (s UpdateMLModelInput) String() string

String returns the string representation

Validate

func (s *UpdateMLModelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: