public final class XPSTablesConfidenceMetricsEntry
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Natural Language API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
XPSTablesConfidenceMetricsEntry() |
| Modifier and Type | Method and Description |
|---|---|
XPSTablesConfidenceMetricsEntry |
clone() |
Double |
getConfidenceThreshold()
The confidence threshold value used to compute the metrics.
|
Double |
getF1Score()
The harmonic mean of recall and precision.
|
Long |
getFalseNegativeCount()
False negative count.
|
Long |
getFalsePositiveCount()
False positive count.
|
Double |
getFalsePositiveRate()
FPR = #false positives / (#false positives + #true negatives)
|
Double |
getPrecision()
Precision = #true positives / (#true positives + #false positives).
|
Double |
getRecall()
Recall = #true positives / (#true positives + #false negatives).
|
Long |
getTrueNegativeCount()
True negative count.
|
Long |
getTruePositiveCount()
True positive count.
|
Double |
getTruePositiveRate()
TPR = #true positives / (#true positives + #false negatvies)
|
XPSTablesConfidenceMetricsEntry |
set(String fieldName,
Object value) |
XPSTablesConfidenceMetricsEntry |
setConfidenceThreshold(Double confidenceThreshold)
The confidence threshold value used to compute the metrics.
|
XPSTablesConfidenceMetricsEntry |
setF1Score(Double f1Score)
The harmonic mean of recall and precision.
|
XPSTablesConfidenceMetricsEntry |
setFalseNegativeCount(Long falseNegativeCount)
False negative count.
|
XPSTablesConfidenceMetricsEntry |
setFalsePositiveCount(Long falsePositiveCount)
False positive count.
|
XPSTablesConfidenceMetricsEntry |
setFalsePositiveRate(Double falsePositiveRate)
FPR = #false positives / (#false positives + #true negatives)
|
XPSTablesConfidenceMetricsEntry |
setPrecision(Double precision)
Precision = #true positives / (#true positives + #false positives).
|
XPSTablesConfidenceMetricsEntry |
setRecall(Double recall)
Recall = #true positives / (#true positives + #false negatives).
|
XPSTablesConfidenceMetricsEntry |
setTrueNegativeCount(Long trueNegativeCount)
True negative count.
|
XPSTablesConfidenceMetricsEntry |
setTruePositiveCount(Long truePositiveCount)
True positive count.
|
XPSTablesConfidenceMetricsEntry |
setTruePositiveRate(Double truePositiveRate)
TPR = #true positives / (#true positives + #false negatvies)
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Double getConfidenceThreshold()
null for nonepublic XPSTablesConfidenceMetricsEntry setConfidenceThreshold(Double confidenceThreshold)
confidenceThreshold - confidenceThreshold or null for nonepublic Double getF1Score()
null for nonepublic XPSTablesConfidenceMetricsEntry setF1Score(Double f1Score)
f1Score - f1Score or null for nonepublic Long getFalseNegativeCount()
null for nonepublic XPSTablesConfidenceMetricsEntry setFalseNegativeCount(Long falseNegativeCount)
falseNegativeCount - falseNegativeCount or null for nonepublic Long getFalsePositiveCount()
null for nonepublic XPSTablesConfidenceMetricsEntry setFalsePositiveCount(Long falsePositiveCount)
falsePositiveCount - falsePositiveCount or null for nonepublic Double getFalsePositiveRate()
null for nonepublic XPSTablesConfidenceMetricsEntry setFalsePositiveRate(Double falsePositiveRate)
falsePositiveRate - falsePositiveRate or null for nonepublic Double getPrecision()
null for nonepublic XPSTablesConfidenceMetricsEntry setPrecision(Double precision)
precision - precision or null for nonepublic Double getRecall()
null for nonepublic XPSTablesConfidenceMetricsEntry setRecall(Double recall)
recall - recall or null for nonepublic Long getTrueNegativeCount()
null for nonepublic XPSTablesConfidenceMetricsEntry setTrueNegativeCount(Long trueNegativeCount)
trueNegativeCount - trueNegativeCount or null for nonepublic Long getTruePositiveCount()
null for nonepublic XPSTablesConfidenceMetricsEntry setTruePositiveCount(Long truePositiveCount)
truePositiveCount - truePositiveCount or null for nonepublic Double getTruePositiveRate()
null for nonepublic XPSTablesConfidenceMetricsEntry setTruePositiveRate(Double truePositiveRate)
truePositiveRate - truePositiveRate or null for nonepublic XPSTablesConfidenceMetricsEntry set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic XPSTablesConfidenceMetricsEntry clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.