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)


2767
2768
2769
2770
2771
2772
# File 'lib/aws-sdk-machinelearning/types.rb', line 2767

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

#predict_endpointString

Returns:

  • (String)


2767
2768
2769
2770
2771
2772
# File 'lib/aws-sdk-machinelearning/types.rb', line 2767

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>)


2767
2768
2769
2770
2771
2772
# File 'lib/aws-sdk-machinelearning/types.rb', line 2767

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