Reference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::TextExtractionEvaluationMetrics::ConfidenceMetricsEntry.
Metrics for a single confidence threshold.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#confidence_threshold
defconfidence_threshold()->::Float
Returns
(::Float) — 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.
#confidence_threshold=
defconfidence_threshold=(value)->::Float
Parameter
value (::Float) — 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.
Returns
(::Float) — 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.
#f1_score
deff1_score()->::Float
Returns
(::Float) — Output only. The harmonic mean of recall and precision.
#f1_score=
deff1_score=(value)->::Float
Parameter
value (::Float) — Output only. The harmonic mean of recall and precision.
Returns
(::Float) — Output only. The harmonic mean of recall and precision.
#precision
defprecision()->::Float
Returns
(::Float) — Output only. Precision under the given confidence threshold.
#precision=
defprecision=(value)->::Float
Parameter
value (::Float) — Output only. Precision under the given confidence threshold.
Returns
(::Float) — Output only. Precision under the given confidence threshold.
#recall
defrecall()->::Float
Returns
(::Float) — Output only. Recall under the given confidence threshold.
#recall=
defrecall=(value)->::Float
Parameter
value (::Float) — Output only. Recall under the given confidence threshold.
Returns
(::Float) — Output only. Recall under the given confidence threshold.
[[["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-08-28 UTC."],[],[],null,["# Cloud AutoML V1 API - Class Google::Cloud::AutoML::V1::TextExtractionEvaluationMetrics::ConfidenceMetricsEntry (v1.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.1 (latest)](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-TextExtractionEvaluationMetrics-ConfidenceMetricsEntry)\n- [1.3.0](/ruby/docs/reference/google-cloud-automl-v1/1.3.0/Google-Cloud-AutoML-V1-TextExtractionEvaluationMetrics-ConfidenceMetricsEntry)\n- [1.2.1](/ruby/docs/reference/google-cloud-automl-v1/1.2.1/Google-Cloud-AutoML-V1-TextExtractionEvaluationMetrics-ConfidenceMetricsEntry)\n- [1.1.0](/ruby/docs/reference/google-cloud-automl-v1/1.1.0/Google-Cloud-AutoML-V1-TextExtractionEvaluationMetrics-ConfidenceMetricsEntry)\n- [1.0.1](/ruby/docs/reference/google-cloud-automl-v1/1.0.1/Google-Cloud-AutoML-V1-TextExtractionEvaluationMetrics-ConfidenceMetricsEntry)\n- [0.10.0](/ruby/docs/reference/google-cloud-automl-v1/0.10.0/Google-Cloud-AutoML-V1-TextExtractionEvaluationMetrics-ConfidenceMetricsEntry)\n- [0.9.2](/ruby/docs/reference/google-cloud-automl-v1/0.9.2/Google-Cloud-AutoML-V1-TextExtractionEvaluationMetrics-ConfidenceMetricsEntry)\n- [0.8.0](/ruby/docs/reference/google-cloud-automl-v1/0.8.0/Google-Cloud-AutoML-V1-TextExtractionEvaluationMetrics-ConfidenceMetricsEntry)\n- [0.7.0](/ruby/docs/reference/google-cloud-automl-v1/0.7.0/Google-Cloud-AutoML-V1-TextExtractionEvaluationMetrics-ConfidenceMetricsEntry)\n- [0.6.0](/ruby/docs/reference/google-cloud-automl-v1/0.6.0/Google-Cloud-AutoML-V1-TextExtractionEvaluationMetrics-ConfidenceMetricsEntry)\n- [0.5.1](/ruby/docs/reference/google-cloud-automl-v1/0.5.1/Google-Cloud-AutoML-V1-TextExtractionEvaluationMetrics-ConfidenceMetricsEntry)\n- [0.4.8](/ruby/docs/reference/google-cloud-automl-v1/0.4.8/Google-Cloud-AutoML-V1-TextExtractionEvaluationMetrics-ConfidenceMetricsEntry) \nReference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::TextExtractionEvaluationMetrics::ConfidenceMetricsEntry.\n\nMetrics for a single confidence threshold. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #confidence_threshold\n\n def confidence_threshold() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- 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.\n\n### #confidence_threshold=\n\n def confidence_threshold=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- 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. \n**Returns**\n\n- (::Float) --- 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.\n\n### #f1_score\n\n def f1_score() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- Output only. The harmonic mean of recall and precision.\n\n### #f1_score=\n\n def f1_score=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- Output only. The harmonic mean of recall and precision. \n**Returns**\n\n- (::Float) --- Output only. The harmonic mean of recall and precision.\n\n### #precision\n\n def precision() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- Output only. Precision under the given confidence threshold.\n\n### #precision=\n\n def precision=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- Output only. Precision under the given confidence threshold. \n**Returns**\n\n- (::Float) --- Output only. Precision under the given confidence threshold.\n\n### #recall\n\n def recall() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- Output only. Recall under the given confidence threshold.\n\n### #recall=\n\n def recall=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- Output only. Recall under the given confidence threshold. \n**Returns**\n\n- (::Float) --- Output only. Recall under the given confidence threshold."]]