fix iris to Rd files

This commit is contained in:
hetong
2014-09-05 19:47:58 -07:00
parent d776e0fdf5
commit 801a17fa02
15 changed files with 435 additions and 12 deletions

View File

@@ -21,7 +21,7 @@ Save a xgboost model to text file. Could be parsed later.
}
\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)
xgb.dump(bst, 'iris.xgb.model.dump')
}