Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
作为 xgboost 模型中的有效参数,我将字符转换为因子变量(例如“A”“B”“C”),并进一步转换为数字因子变量(例如“0”“1”“2”)。我可以使用哪个函数将数字因子转换回因子变量?我必须在分类模型中使用它。