GoogleApi.Language.V2.Model.XPSTextExtractionEvaluationMetrics (google_api_language v0.16.3)
View SourceAttributes
-
bestF1ConfidenceMetrics
(type:GoogleApi.Language.V2.Model.XPSConfidenceMetricsEntry.t
, default:nil
) - Values are at the highest F1 score on the precision-recall curve. Only confidence_threshold, recall, precision, and f1_score will be set. -
confidenceMetricsEntries
(type:list(GoogleApi.Language.V2.Model.XPSConfidenceMetricsEntry.t)
, default:nil
) - If the enclosing EvaluationMetrics.label is empty, confidence_metrics_entries is an evaluation of the entire model across all labels. If the enclosing EvaluationMetrics.label is set, confidence_metrics_entries applies to that label. -
confusionMatrix
(type:GoogleApi.Language.V2.Model.XPSConfusionMatrix.t
, default:nil
) - Confusion matrix of the model, at the default confidence threshold (0.0). Only set for whole-model evaluation, not for evaluation per label. -
perLabelConfidenceMetrics
(type:%{optional(String.t) => GoogleApi.Language.V2.Model.XPSConfidenceMetricsEntry.t}
, default:nil
) - Only recall, precision, and f1_score will be set.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Language.V2.Model.XPSTextExtractionEvaluationMetrics{ bestF1ConfidenceMetrics: GoogleApi.Language.V2.Model.XPSConfidenceMetricsEntry.t() | nil, confidenceMetricsEntries: [GoogleApi.Language.V2.Model.XPSConfidenceMetricsEntry.t()] | nil, confusionMatrix: GoogleApi.Language.V2.Model.XPSConfusionMatrix.t() | nil, perLabelConfidenceMetrics: %{ optional(String.t()) => GoogleApi.Language.V2.Model.XPSConfidenceMetricsEntry.t() } | nil }