public final class XPSEvaluationMetricsSet
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 |
---|
XPSEvaluationMetricsSet() |
Modifier and Type | Method and Description |
---|---|
XPSEvaluationMetricsSet |
clone() |
List<XPSEvaluationMetrics> |
getEvaluationMetrics()
Inline EvaluationMetrics - should be relatively small.
|
XPSFileSpec |
getFileSpec()
File spec containing evaluation metrics of a model, must point to RecordIO file(s) of
intelligence.cloud.automl.xps.EvaluationMetrics messages.
|
Long |
getNumEvaluationMetrics()
Number of the evaluation metrics (usually one per label plus overall).
|
XPSEvaluationMetricsSet |
set(String fieldName,
Object value) |
XPSEvaluationMetricsSet |
setEvaluationMetrics(List<XPSEvaluationMetrics> evaluationMetrics)
Inline EvaluationMetrics - should be relatively small.
|
XPSEvaluationMetricsSet |
setFileSpec(XPSFileSpec fileSpec)
File spec containing evaluation metrics of a model, must point to RecordIO file(s) of
intelligence.cloud.automl.xps.EvaluationMetrics messages.
|
XPSEvaluationMetricsSet |
setNumEvaluationMetrics(Long numEvaluationMetrics)
Number of the evaluation metrics (usually one per label plus overall).
|
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 List<XPSEvaluationMetrics> getEvaluationMetrics()
null
for nonepublic XPSEvaluationMetricsSet setEvaluationMetrics(List<XPSEvaluationMetrics> evaluationMetrics)
evaluationMetrics
- evaluationMetrics or null
for nonepublic XPSFileSpec getFileSpec()
null
for nonepublic XPSEvaluationMetricsSet setFileSpec(XPSFileSpec fileSpec)
fileSpec
- fileSpec or null
for nonepublic Long getNumEvaluationMetrics()
null
for nonepublic XPSEvaluationMetricsSet setNumEvaluationMetrics(Long numEvaluationMetrics)
numEvaluationMetrics
- numEvaluationMetrics or null
for nonepublic XPSEvaluationMetricsSet set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public XPSEvaluationMetricsSet clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.