Returns the feature / variable / column names from a fitted
booster object, which are set automatically during the call to xgb.train()
from the DMatrix names, or which can be set manually through setinfo().
If the object doesn't have feature names, will return NULL.
It is equivalent to calling getinfo(object, "feature_name").
# S3 method for xgb.Booster
variable.names(object, ...)An xgb.Booster object.
Not used.