Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::Schema::Predict::Prediction::TabularClassificationPredictionResult (v0.39.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Schema::Predict::Prediction::TabularClassificationPredictionResult.

Prediction output format for Tabular Classification.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#classes

def classes() -> ::Array<::String>
Returns
  • (::Array<::String>) — The name of the classes being classified, contains all possible values of the target column.

#classes=

def classes=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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.

#scores

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

#scores=

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