HyperParameterTuningJobObjective.fromJson constructor

HyperParameterTuningJobObjective.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory HyperParameterTuningJobObjective.fromJson(Map<String, dynamic> json) {
  return HyperParameterTuningJobObjective(
    metricName: json['MetricName'] as String,
    type: (json['Type'] as String).toHyperParameterTuningJobObjectiveType(),
  );
}