![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/8811858419
我在输入这段代码后,提示错误Error in predict.randomForest(model1rf1K10K, newdata = deridata1K10K, :
variables in the training data missing in newdata。请求解决方法,感谢!
目测是你的数据中存在一些维为空的情况
不知道你这个问题是否已经解决, 如果还没有解决的话: