GoogleApi.Language.V2.Model.XPSTablesConfidenceMetricsEntry (google_api_language v0.16.3)

View Source

Metrics for a single confidence threshold.

Attributes

  • confidenceThreshold (type: float(), default: nil) - The confidence threshold value used to compute the metrics.
  • f1Score (type: float(), default: nil) - The harmonic mean of recall and precision. (2 precision recall) / (precision + recall)
  • falseNegativeCount (type: String.t, default: nil) - False negative count.
  • falsePositiveCount (type: String.t, default: nil) - False positive count.
  • falsePositiveRate (type: float(), default: nil) - FPR = #false positives / (#false positives + #true negatives)
  • precision (type: float(), default: nil) - Precision = #true positives / (#true positives + #false positives).
  • recall (type: float(), default: nil) - Recall = #true positives / (#true positives + #false negatives).
  • trueNegativeCount (type: String.t, default: nil) - True negative count.
  • truePositiveCount (type: String.t, default: nil) - True positive count.
  • truePositiveRate (type: float(), default: nil) - TPR = #true positives / (#true positives + #false negatvies)

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Language.V2.Model.XPSTablesConfidenceMetricsEntry{
  confidenceThreshold: float() | nil,
  f1Score: float() | nil,
  falseNegativeCount: String.t() | nil,
  falsePositiveCount: String.t() | nil,
  falsePositiveRate: float() | nil,
  precision: float() | nil,
  recall: float() | nil,
  trueNegativeCount: String.t() | nil,
  truePositiveCount: String.t() | nil,
  truePositiveRate: float() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.