Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class ClassificationMetrics.
Metrics calculated for a classification model.
Generated from protobuf message google.cloud.datalabeling.v1beta1.ClassificationMetrics
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ pr_curve
Google\Cloud\DataLabeling\V1beta1\PrCurve
Precision-recall curve based on ground truth labels, predicted labels, and scores for the predicted labels.
↳ confusion_matrix
Google\Cloud\DataLabeling\V1beta1\ConfusionMatrix
Confusion matrix of predicted labels vs. ground truth labels.
getPrCurve
Precision-recall curve based on ground truth labels, predicted labels, and scores for the predicted labels.
hasPrCurve
clearPrCurve
setPrCurve
Precision-recall curve based on ground truth labels, predicted labels, and scores for the predicted labels.
$this
getConfusionMatrix
Confusion matrix of predicted labels vs. ground truth labels.
hasConfusionMatrix
clearConfusionMatrix
setConfusionMatrix
Confusion matrix of predicted labels vs. ground truth labels.
$this