From 122ec48a8948a1bf87c2aff45d805c82b56e9794 Mon Sep 17 00:00:00 2001 From: Johan Manders Date: Wed, 14 Oct 2015 13:40:20 +0200 Subject: [PATCH] Update evals_result.py --- demo/guide-python/evals_result.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo/guide-python/evals_result.py b/demo/guide-python/evals_result.py index e07ba8572..8449b9307 100644 --- a/demo/guide-python/evals_result.py +++ b/demo/guide-python/evals_result.py @@ -1,7 +1,8 @@ -import xgboost as xgb ## # This script demonstrate how to access the eval metrics in xgboost ## + +import xgboost as xgb dtrain = xgb.DMatrix('../data/agaricus.txt.train', silent=True) dtest = xgb.DMatrix('../data/agaricus.txt.test', silent=True)