R/classify_text.r
create_search_spaces.Rd
Create search spaces for the algorithms based on the hyperparameters
create_search_spaces(train_x_class, category, lasso_spec, rand_spec, xg_spec)
Training data for predictors
The target binary category
The tuning parameters for lasso
The tuning parameters for random forest
The tuning parameters for XGBoost
A list of the search spaces for lasso, random forest, and XGBoost.