make travis happy

This commit is contained in:
Vadim Khotilovich 2016-04-16 01:49:31 -05:00
parent 2b8b18583f
commit 611b317057
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@
#'
#' # How to match feature names of splits that are following a current 'Yes' branch:
#'
#' merge(dt, dt[, .(ID, Y.Feature=Feature)], by.x='Yes', by.y='ID', all.x=T)[order(Tree,Node)]
#' merge(dt, dt[, .(ID, Y.Feature=Feature)], by.x='Yes', by.y='ID', all.x=TRUE)[order(Tree,Node)]
#'
#' @export
xgb.model.dt.tree <- function(feature_names = NULL, model = NULL, text = NULL,

View File

@ -55,7 +55,7 @@ bst <- xgboost(data = agaricus.train$data, label = agaricus.train$label, max.dep
# How to match feature names of splits that are following a current 'Yes' branch:
merge(dt, dt[, .(ID, Y.Feature=Feature)], by.x='Yes', by.y='ID', all.x=T)[order(Tree,Node)]
merge(dt, dt[, .(ID, Y.Feature=Feature)], by.x='Yes', by.y='ID', all.x=TRUE)[order(Tree,Node)]
}