You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MachineLearning::Types::UpdateMLModelInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb

Overview

Note:

When making an API call, you may pass UpdateMLModelInput data as a hash:

{
  ml_model_id: "EntityId", # required
  ml_model_name: "EntityName",
  score_threshold: 1.0,
}

Instance Attribute Summary collapse

Instance Attribute Details

#ml_model_idString

The ID assigned to the MLModel during creation.

Returns:

  • (String)


3840
3841
3842
3843
3844
3845
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 3840

class UpdateMLModelInput < Struct.new(
  :ml_model_id,
  :ml_model_name,
  :score_threshold)
  include Aws::Structure
end

#ml_model_nameString

A user-supplied name or description of the MLModel.

Returns:

  • (String)


3840
3841
3842
3843
3844
3845
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 3840

class UpdateMLModelInput < Struct.new(
  :ml_model_id,
  :ml_model_name,
  :score_threshold)
  include Aws::Structure
end

#score_thresholdFloat

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.

Returns:

  • (Float)


3840
3841
3842
3843
3844
3845
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 3840

class UpdateMLModelInput < Struct.new(
  :ml_model_id,
  :ml_model_name,
  :score_threshold)
  include Aws::Structure
end