public final class TrainingRun 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 |
---|
TrainingRun() |
Modifier and Type | Method and Description |
---|---|
TrainingRun |
clone() |
List<GlobalExplanation> |
getClassLevelGlobalExplanations()
Global explanation contains the explanation of top features on the class level.
|
DataSplitResult |
getDataSplitResult()
Data split result of the training run.
|
EvaluationMetrics |
getEvaluationMetrics()
The evaluation metrics over training/eval data that were computed at the end of training.
|
GlobalExplanation |
getModelLevelGlobalExplanation()
Global explanation contains the explanation of top features on the model level.
|
List<IterationResult> |
getResults()
Output of each iteration run, results.size() <= max_iterations.
|
String |
getStartTime()
The start time of this training run.
|
TrainingOptions |
getTrainingOptions()
Options that were used for this training run, includes user specified and default options that
were used.
|
String |
getVertexAiModelId()
The model id in Vertex AI Model Registry for this training run
|
String |
getVertexAiModelVersion()
The model version in Vertex AI Model Registry for this training run
|
TrainingRun |
set(String fieldName,
Object value) |
TrainingRun |
setClassLevelGlobalExplanations(List<GlobalExplanation> classLevelGlobalExplanations)
Global explanation contains the explanation of top features on the class level.
|
TrainingRun |
setDataSplitResult(DataSplitResult dataSplitResult)
Data split result of the training run.
|
TrainingRun |
setEvaluationMetrics(EvaluationMetrics evaluationMetrics)
The evaluation metrics over training/eval data that were computed at the end of training.
|
TrainingRun |
setModelLevelGlobalExplanation(GlobalExplanation modelLevelGlobalExplanation)
Global explanation contains the explanation of top features on the model level.
|
TrainingRun |
setResults(List<IterationResult> results)
Output of each iteration run, results.size() <= max_iterations.
|
TrainingRun |
setStartTime(String startTime)
The start time of this training run.
|
TrainingRun |
setTrainingOptions(TrainingOptions trainingOptions)
Options that were used for this training run, includes user specified and default options that
were used.
|
TrainingRun |
setVertexAiModelId(String vertexAiModelId)
The model id in Vertex AI Model Registry for this training run
|
TrainingRun |
setVertexAiModelVersion(String vertexAiModelVersion)
The model version in Vertex AI Model Registry for this training run
|
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<GlobalExplanation> getClassLevelGlobalExplanations()
null
for nonepublic TrainingRun setClassLevelGlobalExplanations(List<GlobalExplanation> classLevelGlobalExplanations)
classLevelGlobalExplanations
- classLevelGlobalExplanations or null
for nonepublic DataSplitResult getDataSplitResult()
null
for nonepublic TrainingRun setDataSplitResult(DataSplitResult dataSplitResult)
dataSplitResult
- dataSplitResult or null
for nonepublic EvaluationMetrics getEvaluationMetrics()
null
for nonepublic TrainingRun setEvaluationMetrics(EvaluationMetrics evaluationMetrics)
evaluationMetrics
- evaluationMetrics or null
for nonepublic GlobalExplanation getModelLevelGlobalExplanation()
null
for nonepublic TrainingRun setModelLevelGlobalExplanation(GlobalExplanation modelLevelGlobalExplanation)
modelLevelGlobalExplanation
- modelLevelGlobalExplanation or null
for nonepublic List<IterationResult> getResults()
null
for nonepublic TrainingRun setResults(List<IterationResult> results)
results
- results or null
for nonepublic String getStartTime()
null
for nonepublic TrainingRun setStartTime(String startTime)
startTime
- startTime or null
for nonepublic TrainingOptions getTrainingOptions()
null
for nonepublic TrainingRun setTrainingOptions(TrainingOptions trainingOptions)
trainingOptions
- trainingOptions or null
for nonepublic String getVertexAiModelId()
null
for nonepublic TrainingRun setVertexAiModelId(String vertexAiModelId)
vertexAiModelId
- vertexAiModelId or null
for nonepublic String getVertexAiModelVersion()
null
for nonepublic TrainingRun setVertexAiModelVersion(String vertexAiModelVersion)
vertexAiModelVersion
- vertexAiModelVersion or null
for nonepublic TrainingRun set(String fieldName, Object value)
set
in class GenericJson
public TrainingRun clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.