toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (earlyStop != null) 'earlyStop': earlyStop!,
      if (l1Reg != null) 'l1Reg': l1Reg!,
      if (l2Reg != null) 'l2Reg': l2Reg!,
      if (learnRate != null) 'learnRate': learnRate!,
      if (learnRateStrategy != null) 'learnRateStrategy': learnRateStrategy!,
      if (lineSearchInitLearnRate != null)
        'lineSearchInitLearnRate': lineSearchInitLearnRate!,
      if (maxIteration != null) 'maxIteration': maxIteration!,
      if (minRelProgress != null) 'minRelProgress': minRelProgress!,
      if (warmStart != null) 'warmStart': warmStart!,
    };