fix NAMESPACE

This commit is contained in:
hetong
2014-08-28 08:16:45 -07:00
parent 73419f6cd7
commit d95bc458e3
10 changed files with 18 additions and 0 deletions

View File

@@ -12,6 +12,7 @@
#' data(iris)
#' bst <- xgboost(as.matrix(iris[,1:4]),as.numeric(iris[,5]), nrounds = 2)
#' xgb.dump(bst, 'iris.xgb.model.dump')
#' @export
#'
xgb.dump <- function(model, fname, fmap = "") {
if (class(model) != "xgb.Booster") {