toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (arimaResult != null) 'arimaResult': arimaResult!,
      if (clusterInfos != null) 'clusterInfos': clusterInfos!,
      if (durationMs != null) 'durationMs': durationMs!,
      if (evalLoss != null) 'evalLoss': evalLoss!,
      if (index != null) 'index': index!,
      if (learnRate != null) 'learnRate': learnRate!,
      if (principalComponentInfos != null)
        'principalComponentInfos': principalComponentInfos!,
      if (trainingLoss != null) 'trainingLoss': trainingLoss!,
    };