Create search spaces for the algorithms based on the hyperparameters

create_search_spaces(train_x_class, category, lasso_spec, rand_spec, xg_spec)

Arguments

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

Value

A list of the search spaces for lasso, random forest, and XGBoost.