Missing categorical variables (factors) produce error in Boost predict function after sparse.model.matrix transformation in R

后端 未结 0 1665
悲&欢浪女
悲&欢浪女 2021-02-07 02:16

I am running an XGboost function in R. I prepare several variables by transforming first into factors (e.g. day of month). I then transform by using a sparse model matrix and

相关标签:
回答
  • 消灭零回复
提交回复
热议问题