GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution.fromJson constructor
GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution.fromJson(
core.Map json_)
: this(
buckets: json_.containsKey('buckets')
? (json_['buckets'] as core.List)
.map((value) =>
GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
max: json_.containsKey('max')
? (json_['max'] as core.num).toDouble()
: null,
mean: json_.containsKey('mean')
? (json_['mean'] as core.num).toDouble()
: null,
median: json_.containsKey('median')
? (json_['median'] as core.num).toDouble()
: null,
min: json_.containsKey('min')
? (json_['min'] as core.num).toDouble()
: null,
p5: json_.containsKey('p5')
? (json_['p5'] as core.num).toDouble()
: null,
p95: json_.containsKey('p95')
? (json_['p95'] as core.num).toDouble()
: null,
sum: json_.containsKey('sum') ? json_['sum'] as core.String : null,
);