View Source GoogleApi.Language.V2.Model.XPSConfidenceMetricsEntry (google_api_language v0.14.0)
ConfidenceMetricsEntry includes generic precision, recall, f1 score etc. Next tag: 16.
Attributes
-
confidenceThreshold
(type:number()
, default:nil
) - Metrics are computed with an assumption that the model never return predictions with score lower than this value. -
f1Score
(type:number()
, default:nil
) - The harmonic mean of recall and precision. -
f1ScoreAt1
(type:number()
, default:nil
) - The harmonic mean of recall_at1 and precision_at1. -
falseNegativeCount
(type:String.t
, default:nil
) - The number of ground truth labels that are not matched by a model created label. -
falsePositiveCount
(type:String.t
, default:nil
) - The number of model created labels that do not match a ground truth label. -
falsePositiveRate
(type:number()
, default:nil
) - False Positive Rate for the given confidence threshold. -
falsePositiveRateAt1
(type:number()
, default:nil
) - The False Positive Rate when only considering the label that has the highest prediction score and not below the confidence threshold for each example. -
positionThreshold
(type:integer()
, default:nil
) - Metrics are computed with an assumption that the model always returns at most this many predictions (ordered by their score, descendingly), but they all still need to meet the confidence_threshold. -
precision
(type:number()
, default:nil
) - Precision for the given confidence threshold. -
precisionAt1
(type:number()
, default:nil
) - The precision when only considering the label that has the highest prediction score and not below the confidence threshold for each example. -
recall
(type:number()
, default:nil
) - Recall (true positive rate) for the given confidence threshold. -
recallAt1
(type:number()
, default:nil
) - The recall (true positive rate) when only considering the label that has the highest prediction score and not below the confidence threshold for each example. -
trueNegativeCount
(type:String.t
, default:nil
) - The number of labels that were not created by the model, but if they would, they would not match a ground truth label. -
truePositiveCount
(type:String.t
, default:nil
) - The number of model created labels that match a ground truth label.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Language.V2.Model.XPSConfidenceMetricsEntry{ confidenceThreshold: number() | nil, f1Score: number() | nil, f1ScoreAt1: number() | nil, falseNegativeCount: String.t() | nil, falsePositiveCount: String.t() | nil, falsePositiveRate: number() | nil, falsePositiveRateAt1: number() | nil, positionThreshold: integer() | nil, precision: number() | nil, precisionAt1: number() | nil, recall: number() | nil, recallAt1: number() | nil, trueNegativeCount: String.t() | nil, truePositiveCount: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.