Class: Google::Cloud::DataLabeling::V1beta1::ClassificationMetrics

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

Overview

Metrics calculated for a classification model.

Instance Attribute Summary collapse

Instance Attribute Details

#confusion_matrix::Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix

Returns Confusion matrix of predicted labels vs. ground truth labels.

Returns:



106
107
108
109
# File 'proto_docs/google/cloud/datalabeling/v1beta1/evaluation.rb', line 106

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

#pr_curve::Google::Cloud::DataLabeling::V1beta1::PrCurve

Returns Precision-recall curve based on ground truth labels, predicted labels, and scores for the predicted labels.

Returns:



106
107
108
109
# File 'proto_docs/google/cloud/datalabeling/v1beta1/evaluation.rb', line 106

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