public final class IterationResult
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 |
---|
IterationResult() |
Modifier and Type | Method and Description |
---|---|
IterationResult |
clone() |
java.lang.Long |
getDurationMs()
[Output-only, Beta] Time taken to run the training iteration in milliseconds.
|
java.lang.Double |
getEvalLoss()
[Output-only, Beta] Eval loss computed on the eval data at the end of the iteration.
|
java.lang.Integer |
getIndex()
[Output-only, Beta] Index of the ML training iteration, starting from zero for each training
run.
|
java.lang.Double |
getLearnRate()
[Output-only, Beta] Learning rate used for this iteration, it varies for different training
iterations if learn_rate_strategy option is not constant.
|
java.lang.Double |
getTrainingLoss()
[Output-only, Beta] Training loss computed on the training data at the end of the iteration.
|
IterationResult |
set(java.lang.String fieldName,
java.lang.Object value) |
IterationResult |
setDurationMs(java.lang.Long durationMs)
[Output-only, Beta] Time taken to run the training iteration in milliseconds.
|
IterationResult |
setEvalLoss(java.lang.Double evalLoss)
[Output-only, Beta] Eval loss computed on the eval data at the end of the iteration.
|
IterationResult |
setIndex(java.lang.Integer index)
[Output-only, Beta] Index of the ML training iteration, starting from zero for each training
run.
|
IterationResult |
setLearnRate(java.lang.Double learnRate)
[Output-only, Beta] Learning rate used for this iteration, it varies for different training
iterations if learn_rate_strategy option is not constant.
|
IterationResult |
setTrainingLoss(java.lang.Double trainingLoss)
[Output-only, Beta] Training loss computed on the training data at the end of the iteration.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Long getDurationMs()
null
for nonepublic IterationResult setDurationMs(java.lang.Long durationMs)
durationMs
- durationMs or null
for nonepublic java.lang.Double getEvalLoss()
null
for nonepublic IterationResult setEvalLoss(java.lang.Double evalLoss)
evalLoss
- evalLoss or null
for nonepublic java.lang.Integer getIndex()
null
for nonepublic IterationResult setIndex(java.lang.Integer index)
index
- index or null
for nonepublic java.lang.Double getLearnRate()
null
for nonepublic IterationResult setLearnRate(java.lang.Double learnRate)
learnRate
- learnRate or null
for nonepublic java.lang.Double getTrainingLoss()
null
for nonepublic IterationResult setTrainingLoss(java.lang.Double trainingLoss)
trainingLoss
- trainingLoss or null
for nonepublic IterationResult set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public IterationResult clone()
clone
in class com.google.api.client.json.GenericJson