R/classification.R
get_train_test_data.Rd
Title
get_train_test_data(x, y, trainNames)
quanteda dfm object
data frame with classes
character vector of document names
list of xgb.DMatrices for training and testing