From ad1192e8a3dbddc94bf12c9d52ad289e8a149656 Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Sat, 20 Jul 2019 05:53:42 -0400 Subject: [PATCH] Remove `silent` in doc. [skip ci] (#4689) --- doc/get_started.rst | 2 +- doc/jvm/java_intro.rst | 1 - doc/python/python_intro.rst | 2 +- doc/tutorials/dart.rst | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/get_started.rst b/doc/get_started.rst index bd1f6f981..08bee973b 100644 --- a/doc/get_started.rst +++ b/doc/get_started.rst @@ -24,7 +24,7 @@ Python dtrain = xgb.DMatrix('demo/data/agaricus.txt.train') dtest = xgb.DMatrix('demo/data/agaricus.txt.test') # specify parameters via map - param = {'max_depth':2, 'eta':1, 'silent':1, 'objective':'binary:logistic' } + param = {'max_depth':2, 'eta':1, 'objective':'binary:logistic' } num_round = 2 bst = xgb.train(param, dtrain, num_round) # make prediction diff --git a/doc/jvm/java_intro.rst b/doc/jvm/java_intro.rst index d20eab1e5..29fed9644 100644 --- a/doc/jvm/java_intro.rst +++ b/doc/jvm/java_intro.rst @@ -88,7 +88,6 @@ To set parameters, parameters are specified as a Map: { put("eta", 1.0); put("max_depth", 2); - put("silent", 1); put("objective", "binary:logistic"); put("eval_metric", "logloss"); } diff --git a/doc/python/python_intro.rst b/doc/python/python_intro.rst index 0c15f9fd5..9f4d8efd8 100644 --- a/doc/python/python_intro.rst +++ b/doc/python/python_intro.rst @@ -113,7 +113,7 @@ XGBoost can use either a list of pairs or a dictionary to set :doc:`parameters < .. code-block:: python - param = {'max_depth': 2, 'eta': 1, 'silent': 1, 'objective': 'binary:logistic'} + param = {'max_depth': 2, 'eta': 1, 'objective': 'binary:logistic'} param['nthread'] = 4 param['eval_metric'] = 'auc' diff --git a/doc/tutorials/dart.rst b/doc/tutorials/dart.rst index b95b46617..a5fc60b2c 100644 --- a/doc/tutorials/dart.rst +++ b/doc/tutorials/dart.rst @@ -101,7 +101,7 @@ Sample Script # specify parameters via map param = {'booster': 'dart', 'max_depth': 5, 'learning_rate': 0.1, - 'objective': 'binary:logistic', 'silent': True, + 'objective': 'binary:logistic', 'sample_type': 'uniform', 'normalize_type': 'tree', 'rate_drop': 0.1,