HparamTuningTrial.fromJson constructor
HparamTuningTrial.fromJson(
- Map json_
Implementation
HparamTuningTrial.fromJson(core.Map json_)
: this(
endTimeMs: json_['endTimeMs'] as core.String?,
errorMessage: json_['errorMessage'] as core.String?,
evalLoss: (json_['evalLoss'] as core.num?)?.toDouble(),
evaluationMetrics: json_.containsKey('evaluationMetrics')
? EvaluationMetrics.fromJson(json_['evaluationMetrics']
as core.Map<core.String, core.dynamic>)
: null,
hparamTuningEvaluationMetrics:
json_.containsKey('hparamTuningEvaluationMetrics')
? EvaluationMetrics.fromJson(
json_['hparamTuningEvaluationMetrics']
as core.Map<core.String, core.dynamic>)
: null,
hparams: json_.containsKey('hparams')
? TrainingOptions.fromJson(
json_['hparams'] as core.Map<core.String, core.dynamic>)
: null,
startTimeMs: json_['startTimeMs'] as core.String?,
status: json_['status'] as core.String?,
trainingLoss: (json_['trainingLoss'] as core.num?)?.toDouble(),
trialId: json_['trialId'] as core.String?,
);