Class: Aws::MachineLearning::Types::PredictInput

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

Overview

Note:

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

{
  ml_model_id: "EntityId", # required
  record: { # required
    "VariableName" => "VariableValue",
  },
  predict_endpoint: "VipURL", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#ml_model_idString

A unique identifier of the ‘MLModel`.

Returns:

  • (String)


2835
2836
2837
2838
2839
2840
# File 'lib/aws-sdk-machinelearning/types.rb', line 2835

class PredictInput < Struct.new(
  :ml_model_id,
  :record,
  :predict_endpoint)
  include Aws::Structure
end

#predict_endpointString

Returns:

  • (String)


2835
2836
2837
2838
2839
2840
# File 'lib/aws-sdk-machinelearning/types.rb', line 2835

class PredictInput < Struct.new(
  :ml_model_id,
  :record,
  :predict_endpoint)
  include Aws::Structure
end

#recordHash<String,String>

A map of variable name-value pairs that represent an observation.

Returns:

  • (Hash<String,String>)


2835
2836
2837
2838
2839
2840
# File 'lib/aws-sdk-machinelearning/types.rb', line 2835

class PredictInput < Struct.new(
  :ml_model_id,
  :record,
  :predict_endpoint)
  include Aws::Structure
end