From 0f8f8e05b2330281a5c2cb9b0d27e4f719a492d2 Mon Sep 17 00:00:00 2001 From: Johan Manders Date: Wed, 14 Oct 2015 14:18:31 +0200 Subject: [PATCH] One line was too long --- python-package/xgboost/training.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-package/xgboost/training.py b/python-package/xgboost/training.py index 4841803b4..1e7294d7b 100644 --- a/python-package/xgboost/training.py +++ b/python-package/xgboost/training.py @@ -41,7 +41,8 @@ def train(params, dtrain, num_boost_round=10, evals=(), obj=None, feval=None, This dictionary stores the evaluation results of all the items in watchlist. Example: with a watchlist containing [(dtest,'eval'), (dtrain,'train')] and and a paramater containing ('eval_metric', 'logloss') - Returns: {'train': {'logloss': ['0.48253', '0.35953']}, 'eval': {'logloss': ['0.480385', '0.357756']}} + Returns: {'train': {'logloss': ['0.48253', '0.35953']}, + 'eval': {'logloss': ['0.480385', '0.357756']}} verbose_eval : bool If `verbose_eval` then the evaluation metric on the validation set, if given, is printed at each boosting stage. @@ -320,4 +321,3 @@ def cv(params, dtrain, num_boost_round=10, nfold=3, metrics=(), results = np.array(results) return results -