modification of higgs-pred.R
This commit is contained in:
parent
582e4e3d8c
commit
b51b913494
@ -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")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user