Update utils.R

This commit is contained in:
Tong He 2015-11-08 18:08:51 -08:00
parent ae31bc21bc
commit 4db3dfee7d

View File

@ -123,7 +123,7 @@ xgb.get.DMatrix <- function(data, label = NULL, missing = NA, weight = NULL) {
dtrain <- data
} else if (inClass == "data.frame") {
stop("xgboost only support numerical matrix input,
use 'data.frame' to transform the data.")
use 'data.matrix' to transform the data.")
} else {
stop("xgboost: Invalid input of data")
}