toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accuracy != null) 'accuracy': accuracy!,
      if (f1Score != null) 'f1Score': f1Score!,
      if (logLoss != null) 'logLoss': logLoss!,
      if (precision != null) 'precision': precision!,
      if (recall != null) 'recall': recall!,
      if (rocAuc != null) 'rocAuc': rocAuc!,
      if (threshold != null) 'threshold': threshold!,
    };