public final class IterationResult extends 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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
IterationResult() |
Modifier and Type | Method and Description |
---|---|
IterationResult |
clone() |
Long |
getDurationMs()
Time taken to run the iteration in milliseconds.
|
Double |
getEvalLoss()
Loss computed on the eval data at the end of iteration.
|
Integer |
getIndex()
Index of the iteration, 0 based.
|
Double |
getLearnRate()
Learn rate used for this iteration.
|
Double |
getTrainingLoss()
Loss computed on the training data at the end of iteration.
|
IterationResult |
set(String fieldName,
Object value) |
IterationResult |
setDurationMs(Long durationMs)
Time taken to run the iteration in milliseconds.
|
IterationResult |
setEvalLoss(Double evalLoss)
Loss computed on the eval data at the end of iteration.
|
IterationResult |
setIndex(Integer index)
Index of the iteration, 0 based.
|
IterationResult |
setLearnRate(Double learnRate)
Learn rate used for this iteration.
|
IterationResult |
setTrainingLoss(Double trainingLoss)
Loss computed on the training data at the end of iteration.
|
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 Long getDurationMs()
null
for nonepublic IterationResult setDurationMs(Long durationMs)
durationMs
- durationMs or null
for nonepublic Double getEvalLoss()
null
for nonepublic IterationResult setEvalLoss(Double evalLoss)
evalLoss
- evalLoss or null
for nonepublic Integer getIndex()
null
for nonepublic IterationResult setIndex(Integer index)
index
- index or null
for nonepublic Double getLearnRate()
null
for nonepublic IterationResult setLearnRate(Double learnRate)
learnRate
- learnRate or null
for nonepublic Double getTrainingLoss()
null
for nonepublic IterationResult setTrainingLoss(Double trainingLoss)
trainingLoss
- trainingLoss or null
for nonepublic IterationResult set(String fieldName, Object value)
set
in class GenericJson
public IterationResult clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.