Fixed typos.

This commit is contained in:
Andrew Smith 2016-03-22 12:54:18 +00:00
parent c135703655
commit 5efc1ee3a4

View File

@ -64,8 +64,8 @@ raw = xgb.save.raw(bst)
# load binary model to R
bst3 <- xgb.load(raw)
pred3 <- predict(bst3, test$data)
# pred2 should be identical to pred
print(paste("sum(abs(pred3-pred))=", sum(abs(pred2-pred))))
# pred3 should be identical to pred
print(paste("sum(abs(pred3-pred))=", sum(abs(pred3-pred))))
#----------------Advanced features --------------
# to use advanced features, we need to put data in xgb.DMatrix