Bug + documentation

This commit is contained in:
El Potaeto
2015-02-15 17:46:12 +01:00
parent f84cc0843f
commit f0eaac2174
2 changed files with 3 additions and 3 deletions

View File

@@ -64,6 +64,6 @@ bst <- xgboost(data = train$data, label = train$label, max.depth = 2,
xgb.importance(train$data@Dimnames[[2]], model = bst)
# Same thing with co-occurence computation this time
xgb.importance(agaricus.test$data@Dimnames[[2]], model = bst, data = train$data, label = train$label)
xgb.importance(train$data@Dimnames[[2]], model = bst, data = train$data, label = train$label)
}