The annotation spec of the label for which the precision-recall curve calculated. If this field is empty, that means the precision-recall curve is an aggregate curve for all labels.
↳ area_under_curve
float
Area under the precision-recall curve. Not to be confused with area under a receiver operating characteristic (ROC) curve.
Entries that make up the precision-recall graph. Each entry is a "point" on the graph drawn for a differentconfidence_threshold.
↳ mean_average_precision
float
Mean average prcision of this curve.
getAnnotationSpec
The annotation spec of the label for which the precision-recall curve
calculated. If this field is empty, that means the precision-recall curve
is an aggregate curve for all labels.
The annotation spec of the label for which the precision-recall curve
calculated. If this field is empty, that means the precision-recall curve
is an aggregate curve for all labels.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Datalabeling V1beta1 Client - Class PrCurve (0.6.3)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.3 (latest)](/php/docs/reference/cloud-datalabeling/latest/V1beta1.PrCurve)\n- [0.6.2](/php/docs/reference/cloud-datalabeling/0.6.2/V1beta1.PrCurve)\n- [0.5.7](/php/docs/reference/cloud-datalabeling/0.5.7/V1beta1.PrCurve)\n- [0.4.2](/php/docs/reference/cloud-datalabeling/0.4.2/V1beta1.PrCurve)\n- [0.3.1](/php/docs/reference/cloud-datalabeling/0.3.1/V1beta1.PrCurve)\n- [0.2.0](/php/docs/reference/cloud-datalabeling/0.2.0/V1beta1.PrCurve)\n- [0.1.14](/php/docs/reference/cloud-datalabeling/0.1.14/V1beta1.PrCurve) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class PrCurve.\n\nGenerated from protobuf message `google.cloud.datalabeling.v1beta1.PrCurve`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DataLabeling \\\\ V1beta1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAnnotationSpec\n\nThe annotation spec of the label for which the precision-recall curve\ncalculated. If this field is empty, that means the precision-recall curve\nis an aggregate curve for all labels.\n\n### hasAnnotationSpec\n\n### clearAnnotationSpec\n\n### setAnnotationSpec\n\nThe annotation spec of the label for which the precision-recall curve\ncalculated. If this field is empty, that means the precision-recall curve\nis an aggregate curve for all labels.\n\n### getAreaUnderCurve\n\nArea under the precision-recall curve. Not to be confused with area under\na receiver operating characteristic (ROC) curve.\n\n### setAreaUnderCurve\n\nArea under the precision-recall curve. Not to be confused with area under\na receiver operating characteristic (ROC) curve.\n\n### getConfidenceMetricsEntries\n\nEntries that make up the precision-recall graph. Each entry is a \"point\" on\nthe graph drawn for a different `confidence_threshold`.\n\n### setConfidenceMetricsEntries\n\nEntries that make up the precision-recall graph. Each entry is a \"point\" on\nthe graph drawn for a different `confidence_threshold`.\n\n### getMeanAveragePrecision\n\nMean average prcision of this curve.\n\n### setMeanAveragePrecision\n\nMean average prcision of this curve."]]