xgb_data
is for prepare data using in training_model
.
xgb_data(
dat_train,
target,
dat_test = NULL,
x_list = NULL,
prop = 0.7,
occur_time = NULL
)
data.frame of train data. Default is NULL.
name of target variable.
data.frame of test data. Default is NULL.
names of independent variables of raw data. Default is NULL.
Percentage of train-data after the partition. Default: 0.7.
The name of the variable that represents the time at which each observation takes place.Default is NULL.