MlStatistics.fromJson constructor
MlStatistics.fromJson(
- Map json_
Implementation
MlStatistics.fromJson(core.Map json_)
: this(
hparamTrials: json_.containsKey('hparamTrials')
? (json_['hparamTrials'] as core.List)
.map((value) => HparamTuningTrial.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
iterationResults: json_.containsKey('iterationResults')
? (json_['iterationResults'] as core.List)
.map((value) => IterationResult.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
maxIterations: json_.containsKey('maxIterations')
? json_['maxIterations'] as core.String
: null,
modelType: json_.containsKey('modelType')
? json_['modelType'] as core.String
: null,
trainingType: json_.containsKey('trainingType')
? json_['trainingType'] as core.String
: null,
);