public final class XPSTablesClassificationMetricsCurveMetrics
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
XPSTablesClassificationMetricsCurveMetrics() |
Modifier and Type | Method and Description |
---|---|
XPSTablesClassificationMetricsCurveMetrics |
clone() |
Double |
getAucPr()
The area under the precision-recall curve.
|
Double |
getAucRoc()
The area under receiver operating characteristic curve.
|
List<XPSTablesConfidenceMetricsEntry> |
getConfidenceMetricsEntries()
Metrics that have confidence thresholds.
|
Double |
getLogLoss()
The Log loss metric.
|
Integer |
getPositionThreshold()
The position threshold value used to compute the metrics.
|
String |
getValue()
The CATEGORY row value (for ARRAY unnested) the curve metrics are for.
|
XPSTablesClassificationMetricsCurveMetrics |
set(String fieldName,
Object value) |
XPSTablesClassificationMetricsCurveMetrics |
setAucPr(Double aucPr)
The area under the precision-recall curve.
|
XPSTablesClassificationMetricsCurveMetrics |
setAucRoc(Double aucRoc)
The area under receiver operating characteristic curve.
|
XPSTablesClassificationMetricsCurveMetrics |
setConfidenceMetricsEntries(List<XPSTablesConfidenceMetricsEntry> confidenceMetricsEntries)
Metrics that have confidence thresholds.
|
XPSTablesClassificationMetricsCurveMetrics |
setLogLoss(Double logLoss)
The Log loss metric.
|
XPSTablesClassificationMetricsCurveMetrics |
setPositionThreshold(Integer positionThreshold)
The position threshold value used to compute the metrics.
|
XPSTablesClassificationMetricsCurveMetrics |
setValue(String value)
The CATEGORY row value (for ARRAY unnested) the curve metrics are for.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public XPSTablesClassificationMetricsCurveMetrics()
public Double getAucPr()
null
for nonepublic XPSTablesClassificationMetricsCurveMetrics setAucPr(Double aucPr)
aucPr
- aucPr or null
for nonepublic Double getAucRoc()
null
for nonepublic XPSTablesClassificationMetricsCurveMetrics setAucRoc(Double aucRoc)
aucRoc
- aucRoc or null
for nonepublic List<XPSTablesConfidenceMetricsEntry> getConfidenceMetricsEntries()
null
for nonepublic XPSTablesClassificationMetricsCurveMetrics setConfidenceMetricsEntries(List<XPSTablesConfidenceMetricsEntry> confidenceMetricsEntries)
confidenceMetricsEntries
- confidenceMetricsEntries or null
for nonepublic Double getLogLoss()
null
for nonepublic XPSTablesClassificationMetricsCurveMetrics setLogLoss(Double logLoss)
logLoss
- logLoss or null
for nonepublic Integer getPositionThreshold()
null
for nonepublic XPSTablesClassificationMetricsCurveMetrics setPositionThreshold(Integer positionThreshold)
positionThreshold
- positionThreshold or null
for nonepublic String getValue()
null
for nonepublic XPSTablesClassificationMetricsCurveMetrics setValue(String value)
value
- value or null
for nonepublic XPSTablesClassificationMetricsCurveMetrics set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public XPSTablesClassificationMetricsCurveMetrics clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.