GoogleCloudMlV1HyperparameterOutput.fromJson constructor
GoogleCloudMlV1HyperparameterOutput.fromJson(
- Map json_
Implementation
GoogleCloudMlV1HyperparameterOutput.fromJson(core.Map json_)
: this(
allMetrics: (json_['allMetrics'] as core.List?)
?.map((value) =>
GoogleCloudMlV1HyperparameterOutputHyperparameterMetric
.fromJson(value as core.Map<core.String, core.dynamic>))
.toList(),
builtInAlgorithmOutput: json_.containsKey('builtInAlgorithmOutput')
? GoogleCloudMlV1BuiltInAlgorithmOutput.fromJson(
json_['builtInAlgorithmOutput']
as core.Map<core.String, core.dynamic>)
: null,
endTime: json_['endTime'] as core.String?,
finalMetric: json_.containsKey('finalMetric')
? GoogleCloudMlV1HyperparameterOutputHyperparameterMetric
.fromJson(json_['finalMetric']
as core.Map<core.String, core.dynamic>)
: null,
hyperparameters:
(json_['hyperparameters'] as core.Map<core.String, core.dynamic>?)
?.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
),
isTrialStoppedEarly: json_['isTrialStoppedEarly'] as core.bool?,
startTime: json_['startTime'] as core.String?,
state: json_['state'] as core.String?,
trialId: json_['trialId'] as core.String?,
webAccessUris:
(json_['webAccessUris'] as core.Map<core.String, core.dynamic>?)
?.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
),
);