Merge branch 'master' of ssh://github.com/tqchen/xgboost

This commit is contained in:
tqchen
2014-09-05 20:34:46 -07:00
22 changed files with 81 additions and 26 deletions

View File

@@ -34,7 +34,7 @@
#'
#' @examples
#' data(iris)
#' bst <- xgboost(as.matrix(iris[,1:4]),as.numeric(iris[,5]), nrounds = 2)
#' bst <- xgboost(as.matrix(iris[,1:4]),as.numeric(iris[,5]=='setosa'), nrounds = 2)
#' pred <- predict(bst, as.matrix(iris[,1:4]))
#' @export
#'