6 lines
148 B
R
6 lines
148 B
R
xgb.load <- function(modelfile) {
|
|
if (is.null(modelfile))
|
|
stop("xgb.load: modelfile cannot be NULL")
|
|
xgb.Booster(modelfile = modelfile)
|
|
}
|