MlStatistics.fromJson constructor

MlStatistics.fromJson(
  1. Map json_
)

Implementation

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