Merge branch 'master' of https://github.com/tqchen/xgboost
This commit is contained in:
commit
d214013681
@ -2,7 +2,7 @@
|
|||||||
#'
|
#'
|
||||||
#' Save xgb.DMatrix object to binary file
|
#' Save xgb.DMatrix object to binary file
|
||||||
#'
|
#'
|
||||||
#' @param DMatrix the model object.
|
#' @param DMatrix the DMatrix object
|
||||||
#' @param fname the name of the binary file.
|
#' @param fname the name of the binary file.
|
||||||
#'
|
#'
|
||||||
#' @examples
|
#' @examples
|
||||||
@ -22,6 +22,6 @@ xgb.DMatrix.save <- function(DMatrix, fname) {
|
|||||||
PACKAGE = "xgboost")
|
PACKAGE = "xgboost")
|
||||||
return(TRUE)
|
return(TRUE)
|
||||||
}
|
}
|
||||||
stop("xgb.save: the input must be either xgb.DMatrix or xgb.Booster")
|
stop("xgb.DMatrix.save: the input must be xgb.DMatrix")
|
||||||
return(FALSE)
|
return(FALSE)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user