private static void summarizeGBMModel(ModelSummary summary, hex.gbm.GBM.GBMModel model) {
    // add generic fields such as column names
    summarizeModelCommonFields(summary, model);

    summary.model_algorithm = "GBM";

    JsonObject all_params = (model.get_params()).toJSON();
    summary.critical_parameters = whitelistJsonObject(all_params, GBM_critical_params);
    summary.secondary_parameters = whitelistJsonObject(all_params, GBM_secondary_params);
    summary.expert_parameters = whitelistJsonObject(all_params, GBM_expert_params);
  }
private static void summarizeGBMModel ( ModelSummary summary , hex . gbm . GBM . GBMModel model ) { summarizeModelCommonFields ( summary , model ) ; summary . model_algorithm = "GBM" ; JsonObject all_params = ( model . get_params ( ) ) . toJSON ( ) ; summary . critical_parameters = whitelistJsonObject ( all_params , GBM_critical_params ) ; summary . secondary_parameters = whitelistJsonObject ( all_params , GBM_secondary_params ) ; summary . expert_parameters = whitelistJsonObject ( all_params , GBM_expert_params ) ; }
Summarize fields which are specific to hex.gbm.GBM.GBMModel.