View source: R/classify_text.r
create_search_spaces | R Documentation |
Create search spaces for the algorithms based on the hyperparameters
create_search_spaces(train_x_class, category, lasso_spec, rand_spec, xg_spec)
train_x_class |
Training data for predictors |
category |
The target binary category |
lasso_spec |
The tuning parameters for lasso |
rand_spec |
The tuning parameters for random forest |
xg_spec |
The tuning parameters for XGBoost |
A list of the search spaces for lasso, random forest, and XGBoost.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.