EvaluationMetrics.fromJson constructor

EvaluationMetrics.fromJson(
  1. Map json_
)

Implementation

EvaluationMetrics.fromJson(core.Map json_)
    : this(
        arimaForecastingMetrics: json_.containsKey('arimaForecastingMetrics')
            ? ArimaForecastingMetrics.fromJson(
                json_['arimaForecastingMetrics']
                    as core.Map<core.String, core.dynamic>)
            : null,
        binaryClassificationMetrics:
            json_.containsKey('binaryClassificationMetrics')
                ? BinaryClassificationMetrics.fromJson(
                    json_['binaryClassificationMetrics']
                        as core.Map<core.String, core.dynamic>)
                : null,
        clusteringMetrics: json_.containsKey('clusteringMetrics')
            ? ClusteringMetrics.fromJson(json_['clusteringMetrics']
                as core.Map<core.String, core.dynamic>)
            : null,
        dimensionalityReductionMetrics:
            json_.containsKey('dimensionalityReductionMetrics')
                ? DimensionalityReductionMetrics.fromJson(
                    json_['dimensionalityReductionMetrics']
                        as core.Map<core.String, core.dynamic>)
                : null,
        multiClassClassificationMetrics:
            json_.containsKey('multiClassClassificationMetrics')
                ? MultiClassClassificationMetrics.fromJson(
                    json_['multiClassClassificationMetrics']
                        as core.Map<core.String, core.dynamic>)
                : null,
        rankingMetrics: json_.containsKey('rankingMetrics')
            ? RankingMetrics.fromJson(json_['rankingMetrics']
                as core.Map<core.String, core.dynamic>)
            : null,
        regressionMetrics: json_.containsKey('regressionMetrics')
            ? RegressionMetrics.fromJson(json_['regressionMetrics']
                as core.Map<core.String, core.dynamic>)
            : null,
      );