HparamTuningTrial.fromJson constructor
HparamTuningTrial.fromJson(
- Map json_
Implementation
HparamTuningTrial.fromJson(core.Map json_)
: this(
endTimeMs: json_.containsKey('endTimeMs')
? json_['endTimeMs'] as core.String
: null,
errorMessage: json_.containsKey('errorMessage')
? json_['errorMessage'] as core.String
: null,
evalLoss: json_.containsKey('evalLoss')
? (json_['evalLoss'] as core.num).toDouble()
: null,
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_.containsKey('startTimeMs')
? json_['startTimeMs'] as core.String
: null,
status: json_.containsKey('status')
? json_['status'] as core.String
: null,
trainingLoss: json_.containsKey('trainingLoss')
? (json_['trainingLoss'] as core.num).toDouble()
: null,
trialId: json_.containsKey('trialId')
? json_['trialId'] as core.String
: null,
);