diff --git a/src/tree/param.h b/src/tree/param.h index 8fde1d796..a9130ba2a 100644 --- a/src/tree/param.h +++ b/src/tree/param.h @@ -38,7 +38,7 @@ struct TrainParam : public dmlc::Parameter { // growing policy enum TreeGrowPolicy { kDepthWise = 0, kLossGuide = 1 }; int grow_policy; - int verbose; + int debug_verbose; //----- the rest parameters are less important ---- // minimum amount of hessian(weight) allowed in a child float min_child_weight; @@ -87,7 +87,7 @@ struct TrainParam : public dmlc::Parameter { .set_default(0.0f) .describe( "Minimum loss reduction required to make a further partition."); - DMLC_DECLARE_FIELD(verbose) + DMLC_DECLARE_FIELD(debug_verbose) .set_lower_bound(0) .set_default(0) .describe( diff --git a/src/tree/updater_fast_hist.cc b/src/tree/updater_fast_hist.cc index dac1e740f..13a651d9b 100644 --- a/src/tree/updater_fast_hist.cc +++ b/src/tree/updater_fast_hist.cc @@ -52,7 +52,7 @@ class FastHistMaker: public TreeUpdater { gmat_.cut = &hmat_; gmat_.Init(dmat); is_gmat_initialized_ = true; - if (param.verbose > 0) { + if (param.debug_verbose > 0) { LOG(INFO) << "Generating gmat: " << dmlc::GetTime() - tstart << " sec"; } } @@ -222,7 +222,7 @@ class FastHistMaker: public TreeUpdater { snode[nid].stats.SetLeafVec(param, p_tree->leafvec(nid)); } - if (param.verbose > 0) { + if (param.debug_verbose > 0) { double total_time = dmlc::GetTime() - gstart; LOG(INFO) << "\nInitData: " << std::fixed << std::setw(4) << std::setprecision(2) << time_init_data