modification of higgs-pred.R

This commit is contained in:
unknown 2014-08-27 21:31:13 -07:00
parent 582e4e3d8c
commit b51b913494

View File

@ -10,7 +10,7 @@ idx <- dtest[[1]]
xgmat <- xgb.DMatrix(data, missing = -999.0)
bst <- xgb.Booster(params=list("nthread"=16), modelfile=modelfile)
ypred <- xgb.predict(bst, xgmat)
ypred <- predict(bst, xgmat)
rorder <- rank(ypred, ties.method="first")