Cloud AutoML V1beta1 API - Class Google::Cloud::AutoML::V1beta1::TablesAnnotation (v0.7.0)

Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::TablesAnnotation.

Contains annotation details specific to Tables.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#baseline_score

def baseline_score() -> ::Float
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.

#baseline_score=

def baseline_score=(value) -> ::Float
Parameter
  • value (::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.
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.

#prediction_interval

def prediction_interval() -> ::Google::Cloud::AutoML::V1beta1::DoubleRange
Returns

#prediction_interval=

def prediction_interval=(value) -> ::Google::Cloud::AutoML::V1beta1::DoubleRange
Parameter
Returns

#score

def score() -> ::Float
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.

#score=

def score=(value) -> ::Float
Parameter
  • value (::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.

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.

#tables_model_column_info

def tables_model_column_info() -> ::Array<::Google::Cloud::AutoML::V1beta1::TablesModelColumnInfo>
Returns

#tables_model_column_info=

def tables_model_column_info=(value) -> ::Array<::Google::Cloud::AutoML::V1beta1::TablesModelColumnInfo>
Parameter
Returns

#value

def value() -> ::Google::Protobuf::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.

#value=

def value=(value) -> ::Google::Protobuf::Value
Parameter
  • value (::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.

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.