public final class HparamTuningTrial
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
HparamTuningTrial() |
| Modifier and Type | Method and Description |
|---|---|
HparamTuningTrial |
clone() |
Long |
getEndTimeMs()
Ending time of the trial.
|
String |
getErrorMessage()
Error message for FAILED and INFEASIBLE trial.
|
Double |
getEvalLoss()
Loss computed on the eval data at the end of trial.
|
EvaluationMetrics |
getEvaluationMetrics()
Evaluation metrics of this trial calculated on the test data.
|
TrainingOptions |
getHparams()
The hyperprameters selected for this trial.
|
EvaluationMetrics |
getHparamTuningEvaluationMetrics()
Hyperparameter tuning evaluation metrics of this trial calculated on the eval data.
|
Long |
getStartTimeMs()
Starting time of the trial.
|
String |
getStatus()
The status of the trial.
|
Double |
getTrainingLoss()
Loss computed on the training data at the end of trial.
|
Long |
getTrialId()
1-based index of the trial.
|
HparamTuningTrial |
set(String fieldName,
Object value) |
HparamTuningTrial |
setEndTimeMs(Long endTimeMs)
Ending time of the trial.
|
HparamTuningTrial |
setErrorMessage(String errorMessage)
Error message for FAILED and INFEASIBLE trial.
|
HparamTuningTrial |
setEvalLoss(Double evalLoss)
Loss computed on the eval data at the end of trial.
|
HparamTuningTrial |
setEvaluationMetrics(EvaluationMetrics evaluationMetrics)
Evaluation metrics of this trial calculated on the test data.
|
HparamTuningTrial |
setHparams(TrainingOptions hparams)
The hyperprameters selected for this trial.
|
HparamTuningTrial |
setHparamTuningEvaluationMetrics(EvaluationMetrics hparamTuningEvaluationMetrics)
Hyperparameter tuning evaluation metrics of this trial calculated on the eval data.
|
HparamTuningTrial |
setStartTimeMs(Long startTimeMs)
Starting time of the trial.
|
HparamTuningTrial |
setStatus(String status)
The status of the trial.
|
HparamTuningTrial |
setTrainingLoss(Double trainingLoss)
Loss computed on the training data at the end of trial.
|
HparamTuningTrial |
setTrialId(Long trialId)
1-based index of the trial.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Long getEndTimeMs()
null for nonepublic HparamTuningTrial setEndTimeMs(Long endTimeMs)
endTimeMs - endTimeMs or null for nonepublic String getErrorMessage()
null for nonepublic HparamTuningTrial setErrorMessage(String errorMessage)
errorMessage - errorMessage or null for nonepublic Double getEvalLoss()
null for nonepublic HparamTuningTrial setEvalLoss(Double evalLoss)
evalLoss - evalLoss or null for nonepublic EvaluationMetrics getEvaluationMetrics()
null for nonepublic HparamTuningTrial setEvaluationMetrics(EvaluationMetrics evaluationMetrics)
evaluationMetrics - evaluationMetrics or null for nonepublic EvaluationMetrics getHparamTuningEvaluationMetrics()
null for nonepublic HparamTuningTrial setHparamTuningEvaluationMetrics(EvaluationMetrics hparamTuningEvaluationMetrics)
hparamTuningEvaluationMetrics - hparamTuningEvaluationMetrics or null for nonepublic TrainingOptions getHparams()
null for nonepublic HparamTuningTrial setHparams(TrainingOptions hparams)
hparams - hparams or null for nonepublic Long getStartTimeMs()
null for nonepublic HparamTuningTrial setStartTimeMs(Long startTimeMs)
startTimeMs - startTimeMs or null for nonepublic String getStatus()
null for nonepublic HparamTuningTrial setStatus(String status)
status - status or null for nonepublic Double getTrainingLoss()
null for nonepublic HparamTuningTrial setTrainingLoss(Double trainingLoss)
trainingLoss - trainingLoss or null for nonepublic Long getTrialId()
null for nonepublic HparamTuningTrial setTrialId(Long trialId)
trialId - trialId or null for nonepublic HparamTuningTrial set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic HparamTuningTrial clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.