Ensure that model.matrix has same dimensions for train and test set

前端 未结 0 1784
孤独总比滥情好
孤独总比滥情好 2020-12-19 16:20

Is there a way to ensure that model matrix has the same dimensions for train and test set?

I tried the following:

library(tidyverse)

create_encoder &l         


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