Class: Google::Cloud::AutoML::V1beta1::TablesAnnotation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/automl/v1beta1/tables.rb

Overview

Contains annotation details specific to Tables.

Instance Attribute Summary collapse

Instance Attribute Details

#baseline_score::Float

Returns Output only. Stores the prediction score for the baseline example, which is defined as the example with all values set to their baseline values. This is used as part of the Sampled Shapley explanation of the model's prediction. This field is populated only when feature importance is requested. For regression models, this holds the baseline prediction for the baseline example. For classification models, this holds the baseline prediction for the baseline example for the argmax class.

Returns:

  • (::Float)

    Output only. Stores the prediction score for the baseline example, which is defined as the example with all values set to their baseline values. This is used as part of the Sampled Shapley explanation of the model's prediction. This field is populated only when feature importance is requested. For regression models, this holds the baseline prediction for the baseline example. For classification models, this holds the baseline prediction for the baseline example for the argmax class.



259
260
261
262
# File 'proto_docs/google/cloud/automl/v1beta1/tables.rb', line 259

class TablesAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#prediction_interval::Google::Cloud::AutoML::V1beta1::DoubleRange

Returns Output only. Only populated when

target_column_spec has FLOAT64 data type. An interval in which the exactly correct target value has 95% chance to be in.

Returns:



259
260
261
262
# File 'proto_docs/google/cloud/automl/v1beta1/tables.rb', line 259

class TablesAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#score::Float

Returns Output only. A confidence estimate between 0.0 and 1.0, inclusive. A higher value means greater confidence in the returned value. For

target_column_spec of FLOAT64 data type the score is not populated.

Returns:

  • (::Float)

    Output only. A confidence estimate between 0.0 and 1.0, inclusive. A higher value means greater confidence in the returned value. For

    target_column_spec of FLOAT64 data type the score is not populated.



259
260
261
262
# File 'proto_docs/google/cloud/automl/v1beta1/tables.rb', line 259

class TablesAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#tables_model_column_info::Array<::Google::Cloud::AutoML::V1beta1::TablesModelColumnInfo>

Returns Output only. Auxiliary information for each of the model's

input_feature_column_specs with respect to this particular prediction. If no other fields than

column_spec_name and

column_display_name would be populated, then this whole field is not.

Returns:



259
260
261
262
# File 'proto_docs/google/cloud/automl/v1beta1/tables.rb', line 259

class TablesAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#value::Google::Protobuf::Value

Returns The predicted value of the row's

target_column. The value depends on the column's DataType:

  • CATEGORY - the predicted (with the above confidence score) CATEGORY value.

  • FLOAT64 - the predicted (with above prediction_interval) FLOAT64 value.

Returns:

  • (::Google::Protobuf::Value)

    The predicted value of the row's

    target_column. The value depends on the column's DataType:

    • CATEGORY - the predicted (with the above confidence score) CATEGORY value.

    • FLOAT64 - the predicted (with above prediction_interval) FLOAT64 value.



259
260
261
262
# File 'proto_docs/google/cloud/automl/v1beta1/tables.rb', line 259

class TablesAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end