Class: Google::Cloud::AIPlatform::V1::Schema::Predict::Prediction::TabularClassificationPredictionResult

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.rb

Overview

Prediction output format for Tabular Classification.

Instance Attribute Summary collapse

Instance Attribute Details

#classes::Array<::String>

Returns The name of the classes being classified, contains all possible values of the target column.

Returns:

  • (::Array<::String>)

    The name of the classes being classified, contains all possible values of the target column.



37
38
39
40
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.rb', line 37

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

#scores::Array<::Float>

Returns The model's confidence in each class being correct, higher value means higher confidence. The N-th score corresponds to the N-th class in classes.

Returns:

  • (::Array<::Float>)

    The model's confidence in each class being correct, higher value means higher confidence. The N-th score corresponds to the N-th class in classes.



37
38
39
40
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.rb', line 37

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