public final class ConfusionMatrix
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 BigQuery 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| Constructor and Description |
|---|
ConfusionMatrix() |
| Modifier and Type | Method and Description |
|---|---|
ConfusionMatrix |
clone() |
java.lang.Double |
getConfidenceThreshold()
Confidence threshold used when computing the entries of the confusion matrix.
|
java.util.List<Row> |
getRows()
One row per actual label.
|
ConfusionMatrix |
set(java.lang.String fieldName,
java.lang.Object value) |
ConfusionMatrix |
setConfidenceThreshold(java.lang.Double confidenceThreshold)
Confidence threshold used when computing the entries of the confusion matrix.
|
ConfusionMatrix |
setRows(java.util.List<Row> rows)
One row per actual label.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Double getConfidenceThreshold()
null for nonepublic ConfusionMatrix setConfidenceThreshold(java.lang.Double confidenceThreshold)
confidenceThreshold - confidenceThreshold or null for nonepublic java.util.List<Row> getRows()
null for nonepublic ConfusionMatrix setRows(java.util.List<Row> rows)
rows - rows or null for nonepublic ConfusionMatrix set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ConfusionMatrix clone()
clone in class com.google.api.client.json.GenericJson