toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final activationFn = this.activationFn;
final batchSize = this.batchSize;
final boosterType = this.boosterType;
final colsampleBylevel = this.colsampleBylevel;
final colsampleBynode = this.colsampleBynode;
final colsampleBytree = this.colsampleBytree;
final dartNormalizeType = this.dartNormalizeType;
final dropout = this.dropout;
final hiddenUnits = this.hiddenUnits;
final l1Reg = this.l1Reg;
final l2Reg = this.l2Reg;
final learnRate = this.learnRate;
final maxTreeDepth = this.maxTreeDepth;
final minSplitLoss = this.minSplitLoss;
final minTreeChildWeight = this.minTreeChildWeight;
final numClusters = this.numClusters;
final numFactors = this.numFactors;
final numParallelTree = this.numParallelTree;
final optimizer = this.optimizer;
final subsample = this.subsample;
final treeMethod = this.treeMethod;
final walsAlpha = this.walsAlpha;
return {
'activationFn': ?activationFn,
'batchSize': ?batchSize,
'boosterType': ?boosterType,
'colsampleBylevel': ?colsampleBylevel,
'colsampleBynode': ?colsampleBynode,
'colsampleBytree': ?colsampleBytree,
'dartNormalizeType': ?dartNormalizeType,
'dropout': ?dropout,
'hiddenUnits': ?hiddenUnits,
'l1Reg': ?l1Reg,
'l2Reg': ?l2Reg,
'learnRate': ?learnRate,
'maxTreeDepth': ?maxTreeDepth,
'minSplitLoss': ?minSplitLoss,
'minTreeChildWeight': ?minTreeChildWeight,
'numClusters': ?numClusters,
'numFactors': ?numFactors,
'numParallelTree': ?numParallelTree,
'optimizer': ?optimizer,
'subsample': ?subsample,
'treeMethod': ?treeMethod,
'walsAlpha': ?walsAlpha,
};
}