powered by
Print information about xgb.DMatrix. Currently it displays dimensions and presence of info-fields and colnames.
# S3 method for xgb.DMatrix print(x, verbose = FALSE, ...)
an xgb.DMatrix object
whether to print colnames (when present)
not currently used
# NOT RUN { data(agaricus.train, package='xgboost') train <- agaricus.train dtrain <- xgb.DMatrix(train$data, label=train$label) dtrain print(dtrain, verbose=TRUE) # }
Run the code above in your browser using DataLab