handle_new_test_levels: this functions deals with categorical variables in the test...

Description Usage Arguments

View source: R/build_model.R

Description

this functions deals with categorical variables in the test set which are not present in the training set.

Usage

1
handle_new_test_levels(model_structure, features)

Arguments

model_structure

the model strucxture created by xgb

features

is the output of xgboost::xgb.DMatrix for the test set after combining with the levels from training set


pbhogale/simplexgb documentation built on Nov. 27, 2021, 3:06 p.m.