class Google::Apis::BigqueryV2::ConfusionMatrix

Confusion matrix for multi-class classification models.

Attributes

confidence_threshold[RW]

Confidence threshold used when computing the entries of the confusion matrix. Corresponds to the JSON property `confidenceThreshold` @return [Float]

rows[RW]

One row per actual label. Corresponds to the JSON property `rows` @return [Array<Google::Apis::BigqueryV2::Row>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/bigquery_v2/classes.rb, line 1338
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/bigquery_v2/classes.rb, line 1343
def update!(**args)
  @confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold)
  @rows = args[:rows] if args.key?(:rows)
end