Send feedback
Interface TextExtractionEvaluationMetrics.ConfidenceMetricsEntryOrBuilder (2.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.6.0 keyboard_arrow_down
public static interface TextExtractionEvaluationMetrics.ConfidenceMetricsEntryOrBuilder extends MessageOrBuilder
Methods
public abstract float getConfidenceThreshold()
Output only. The confidence threshold value used to compute the metrics.
Only annotations with score of at least this threshold are considered to
be ones the model would return.
float confidence_threshold = 1;
Returns
Type Description float The confidenceThreshold.
public abstract float getF1Score()
Output only. The harmonic mean of recall and precision.
float f1_score = 5;
Returns
Type Description float The f1Score.
public abstract float getPrecision()
Output only. Precision under the given confidence threshold.
float precision = 4;
Returns
Type Description float The precision.
public abstract float getRecall()
Output only. Recall under the given confidence threshold.
float recall = 3;
Returns
Type Description float The recall.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-13 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?