create_search_spaces: Create search spaces for the algorithms based on the...

View source: R/classify_text.r

create_search_spacesR Documentation

Create search spaces for the algorithms based on the hyperparameters

Description

Create search spaces for the algorithms based on the hyperparameters

Usage

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.


snfagora/autotextclassifier documentation built on June 16, 2022, 9:42 a.m.