public final class AggregateClassificationMetrics
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 |
---|
AggregateClassificationMetrics() |
Modifier and Type | Method and Description |
---|---|
AggregateClassificationMetrics |
clone() |
java.lang.Double |
getAccuracy()
Accuracy is the fraction of predictions given the correct label.
|
java.lang.Double |
getF1Score()
The F1 score is an average of recall and precision.
|
java.lang.Double |
getLogLoss()
Logarithmic Loss.
|
java.lang.Double |
getPrecision()
Precision is the fraction of actual positive predictions that had positive actual labels.
|
java.lang.Double |
getRecall()
Recall is the fraction of actual positive labels that were given a positive prediction.
|
java.lang.Double |
getRocAuc()
Area Under a ROC Curve.
|
java.lang.Double |
getThreshold()
Threshold at which the metrics are computed.
|
AggregateClassificationMetrics |
set(java.lang.String fieldName,
java.lang.Object value) |
AggregateClassificationMetrics |
setAccuracy(java.lang.Double accuracy)
Accuracy is the fraction of predictions given the correct label.
|
AggregateClassificationMetrics |
setF1Score(java.lang.Double f1Score)
The F1 score is an average of recall and precision.
|
AggregateClassificationMetrics |
setLogLoss(java.lang.Double logLoss)
Logarithmic Loss.
|
AggregateClassificationMetrics |
setPrecision(java.lang.Double precision)
Precision is the fraction of actual positive predictions that had positive actual labels.
|
AggregateClassificationMetrics |
setRecall(java.lang.Double recall)
Recall is the fraction of actual positive labels that were given a positive prediction.
|
AggregateClassificationMetrics |
setRocAuc(java.lang.Double rocAuc)
Area Under a ROC Curve.
|
AggregateClassificationMetrics |
setThreshold(java.lang.Double threshold)
Threshold at which the metrics are computed.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Double getAccuracy()
null
for nonepublic AggregateClassificationMetrics setAccuracy(java.lang.Double accuracy)
accuracy
- accuracy or null
for nonepublic java.lang.Double getF1Score()
null
for nonepublic AggregateClassificationMetrics setF1Score(java.lang.Double f1Score)
f1Score
- f1Score or null
for nonepublic java.lang.Double getLogLoss()
null
for nonepublic AggregateClassificationMetrics setLogLoss(java.lang.Double logLoss)
logLoss
- logLoss or null
for nonepublic java.lang.Double getPrecision()
null
for nonepublic AggregateClassificationMetrics setPrecision(java.lang.Double precision)
precision
- precision or null
for nonepublic java.lang.Double getRecall()
null
for nonepublic AggregateClassificationMetrics setRecall(java.lang.Double recall)
recall
- recall or null
for nonepublic java.lang.Double getRocAuc()
null
for nonepublic AggregateClassificationMetrics setRocAuc(java.lang.Double rocAuc)
rocAuc
- rocAuc or null
for nonepublic java.lang.Double getThreshold()
null
for nonepublic AggregateClassificationMetrics setThreshold(java.lang.Double threshold)
threshold
- threshold or null
for nonepublic AggregateClassificationMetrics set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public AggregateClassificationMetrics clone()
clone
in class com.google.api.client.json.GenericJson