Skip to content

Commit

Permalink
Update utils.R
Browse files Browse the repository at this point in the history
  • Loading branch information
hetong007 committed Nov 9, 2015
1 parent ae31bc2 commit 4db3dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R-package/R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 4db3dfe

Please sign in to comment.