Permalink
Browse files

Fix comment in cross_validation.py (#1923)

cv() doesn't output std_value because show_stdv is set to False.
  • Loading branch information...
1 parent 7e07b2b commit 8b827425b2e109410e843f88238b344089cddf4c @mnogu mnogu committed with terrytangyuan Jan 2, 2017
Showing with 1 addition and 2 deletions.
  1. +1 −2 demo/guide-python/cross_validation.py
@@ -17,8 +17,7 @@
print ('running cross validation, disable standard deviation display')
# do cross validation, this will print result out as
-# [iteration] metric_name:mean_value+std_value
-# std_value is standard deviation of the metric
+# [iteration] metric_name:mean_value
res = xgb.cv(param, dtrain, num_boost_round=10, nfold=5,
metrics={'error'}, seed = 0,
callbacks=[xgb.callback.print_evaluation(show_stdv=False),

0 comments on commit 8b82742

Please sign in to comment.