major change in the design of R interface
This commit is contained in:
5
R-package/R/xgb.load.R
Normal file
5
R-package/R/xgb.load.R
Normal file
@@ -0,0 +1,5 @@
|
||||
xgb.load <- function(modelfile) {
|
||||
if (is.null(modelfile))
|
||||
stop('xgb.load: modelfile cannot be NULL')
|
||||
xgb.Booster(modelfile=modelfile)
|
||||
}
|
||||
Reference in New Issue
Block a user