Update evals_result.py

This commit is contained in:
Johan Manders
2015-10-14 13:40:20 +02:00
parent 6e2bdcbbbc
commit 122ec48a89

View File

@@ -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)