fix a typo and some code format (#1470)

* fix a typo

* fix a typo and some code format
This commit is contained in:
闻波 2016-08-19 03:41:18 +08:00 committed by Tianqi Chen
parent d85e287b99
commit 669a387c99

View File

@ -2,9 +2,9 @@
import numpy as np import numpy as np
import xgboost as xgb import xgboost as xgb
### ###
# advanced: cutomsized loss function # advanced: customized loss function
# #
print ('start running example to used cutomized objective function') print ('start running example to used customized objective function')
dtrain = xgb.DMatrix('../data/agaricus.txt.train') dtrain = xgb.DMatrix('../data/agaricus.txt.train')
dtest = xgb.DMatrix('../data/agaricus.txt.test') dtest = xgb.DMatrix('../data/agaricus.txt.test')