toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (activationFn != null) 'activationFn': activationFn!,
      if (adjustStepChanges != null) 'adjustStepChanges': adjustStepChanges!,
      if (approxGlobalFeatureContrib != null)
        'approxGlobalFeatureContrib': approxGlobalFeatureContrib!,
      if (autoArima != null) 'autoArima': autoArima!,
      if (autoArimaMaxOrder != null) 'autoArimaMaxOrder': autoArimaMaxOrder!,
      if (autoArimaMinOrder != null) 'autoArimaMinOrder': autoArimaMinOrder!,
      if (autoClassWeights != null) 'autoClassWeights': autoClassWeights!,
      if (batchSize != null) 'batchSize': batchSize!,
      if (boosterType != null) 'boosterType': boosterType!,
      if (budgetHours != null) 'budgetHours': budgetHours!,
      if (calculatePValues != null) 'calculatePValues': calculatePValues!,
      if (categoryEncodingMethod != null)
        'categoryEncodingMethod': categoryEncodingMethod!,
      if (cleanSpikesAndDips != null)
        'cleanSpikesAndDips': cleanSpikesAndDips!,
      if (colorSpace != null) 'colorSpace': colorSpace!,
      if (colsampleBylevel != null) 'colsampleBylevel': colsampleBylevel!,
      if (colsampleBynode != null) 'colsampleBynode': colsampleBynode!,
      if (colsampleBytree != null) 'colsampleBytree': colsampleBytree!,
      if (dartNormalizeType != null) 'dartNormalizeType': dartNormalizeType!,
      if (dataFrequency != null) 'dataFrequency': dataFrequency!,
      if (dataSplitColumn != null) 'dataSplitColumn': dataSplitColumn!,
      if (dataSplitEvalFraction != null)
        'dataSplitEvalFraction': dataSplitEvalFraction!,
      if (dataSplitMethod != null) 'dataSplitMethod': dataSplitMethod!,
      if (decomposeTimeSeries != null)
        'decomposeTimeSeries': decomposeTimeSeries!,
      if (distanceType != null) 'distanceType': distanceType!,
      if (dropout != null) 'dropout': dropout!,
      if (earlyStop != null) 'earlyStop': earlyStop!,
      if (enableGlobalExplain != null)
        'enableGlobalExplain': enableGlobalExplain!,
      if (feedbackType != null) 'feedbackType': feedbackType!,
      if (fitIntercept != null) 'fitIntercept': fitIntercept!,
      if (hiddenUnits != null) 'hiddenUnits': hiddenUnits!,
      if (holidayRegion != null) 'holidayRegion': holidayRegion!,
      if (holidayRegions != null) 'holidayRegions': holidayRegions!,
      if (horizon != null) 'horizon': horizon!,
      if (hparamTuningObjectives != null)
        'hparamTuningObjectives': hparamTuningObjectives!,
      if (includeDrift != null) 'includeDrift': includeDrift!,
      if (initialLearnRate != null) 'initialLearnRate': initialLearnRate!,
      if (inputLabelColumns != null) 'inputLabelColumns': inputLabelColumns!,
      if (instanceWeightColumn != null)
        'instanceWeightColumn': instanceWeightColumn!,
      if (integratedGradientsNumSteps != null)
        'integratedGradientsNumSteps': integratedGradientsNumSteps!,
      if (itemColumn != null) 'itemColumn': itemColumn!,
      if (kmeansInitializationColumn != null)
        'kmeansInitializationColumn': kmeansInitializationColumn!,
      if (kmeansInitializationMethod != null)
        'kmeansInitializationMethod': kmeansInitializationMethod!,
      if (l1RegActivation != null) 'l1RegActivation': l1RegActivation!,
      if (l1Regularization != null) 'l1Regularization': l1Regularization!,
      if (l2Regularization != null) 'l2Regularization': l2Regularization!,
      if (labelClassWeights != null) 'labelClassWeights': labelClassWeights!,
      if (learnRate != null) 'learnRate': learnRate!,
      if (learnRateStrategy != null) 'learnRateStrategy': learnRateStrategy!,
      if (lossType != null) 'lossType': lossType!,
      if (maxIterations != null) 'maxIterations': maxIterations!,
      if (maxParallelTrials != null) 'maxParallelTrials': maxParallelTrials!,
      if (maxTimeSeriesLength != null)
        'maxTimeSeriesLength': maxTimeSeriesLength!,
      if (maxTreeDepth != null) 'maxTreeDepth': maxTreeDepth!,
      if (minRelativeProgress != null)
        'minRelativeProgress': minRelativeProgress!,
      if (minSplitLoss != null) 'minSplitLoss': minSplitLoss!,
      if (minTimeSeriesLength != null)
        'minTimeSeriesLength': minTimeSeriesLength!,
      if (minTreeChildWeight != null)
        'minTreeChildWeight': minTreeChildWeight!,
      if (modelRegistry != null) 'modelRegistry': modelRegistry!,
      if (modelUri != null) 'modelUri': modelUri!,
      if (nonSeasonalOrder != null) 'nonSeasonalOrder': nonSeasonalOrder!,
      if (numClusters != null) 'numClusters': numClusters!,
      if (numFactors != null) 'numFactors': numFactors!,
      if (numParallelTree != null) 'numParallelTree': numParallelTree!,
      if (numPrincipalComponents != null)
        'numPrincipalComponents': numPrincipalComponents!,
      if (numTrials != null) 'numTrials': numTrials!,
      if (optimizationStrategy != null)
        'optimizationStrategy': optimizationStrategy!,
      if (optimizer != null) 'optimizer': optimizer!,
      if (pcaExplainedVarianceRatio != null)
        'pcaExplainedVarianceRatio': pcaExplainedVarianceRatio!,
      if (pcaSolver != null) 'pcaSolver': pcaSolver!,
      if (sampledShapleyNumPaths != null)
        'sampledShapleyNumPaths': sampledShapleyNumPaths!,
      if (scaleFeatures != null) 'scaleFeatures': scaleFeatures!,
      if (standardizeFeatures != null)
        'standardizeFeatures': standardizeFeatures!,
      if (subsample != null) 'subsample': subsample!,
      if (tfVersion != null) 'tfVersion': tfVersion!,
      if (timeSeriesDataColumn != null)
        'timeSeriesDataColumn': timeSeriesDataColumn!,
      if (timeSeriesIdColumn != null)
        'timeSeriesIdColumn': timeSeriesIdColumn!,
      if (timeSeriesIdColumns != null)
        'timeSeriesIdColumns': timeSeriesIdColumns!,
      if (timeSeriesLengthFraction != null)
        'timeSeriesLengthFraction': timeSeriesLengthFraction!,
      if (timeSeriesTimestampColumn != null)
        'timeSeriesTimestampColumn': timeSeriesTimestampColumn!,
      if (treeMethod != null) 'treeMethod': treeMethod!,
      if (trendSmoothingWindowSize != null)
        'trendSmoothingWindowSize': trendSmoothingWindowSize!,
      if (userColumn != null) 'userColumn': userColumn!,
      if (vertexAiModelVersionAliases != null)
        'vertexAiModelVersionAliases': vertexAiModelVersionAliases!,
      if (walsAlpha != null) 'walsAlpha': walsAlpha!,
      if (warmStart != null) 'warmStart': warmStart!,
      if (xgboostVersion != null) 'xgboostVersion': xgboostVersion!,
    };