BqmlTrainingRunTrainingOptions.fromJson constructor

BqmlTrainingRunTrainingOptions.fromJson(
  1. Map json_
)

Implementation

BqmlTrainingRunTrainingOptions.fromJson(core.Map json_)
    : this(
        earlyStop: json_['earlyStop'] as core.bool?,
        l1Reg: (json_['l1Reg'] as core.num?)?.toDouble(),
        l2Reg: (json_['l2Reg'] as core.num?)?.toDouble(),
        learnRate: (json_['learnRate'] as core.num?)?.toDouble(),
        learnRateStrategy: json_['learnRateStrategy'] as core.String?,
        lineSearchInitLearnRate:
            (json_['lineSearchInitLearnRate'] as core.num?)?.toDouble(),
        maxIteration: json_['maxIteration'] as core.String?,
        minRelProgress: (json_['minRelProgress'] as core.num?)?.toDouble(),
        warmStart: json_['warmStart'] as core.bool?,
      );