fix error in demo
This commit is contained in:
parent
5e839f6fe7
commit
efe8b38a35
@ -11,7 +11,7 @@ setClass('xgb.DMatrix')
|
||||
#' data(iris)
|
||||
#' iris[,5] <- as.numeric(iris[,5])
|
||||
#' dtrain <- xgb.DMatrix(as.matrix(iris[,1:4]), label=iris[,5])
|
||||
#' labels <- getinfo(dtest, "label")
|
||||
#' labels <- getinfo(dtrain, "label")
|
||||
#' @export
|
||||
#'
|
||||
getinfo <- function(object, ...){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user