mice returns nnet.default 错误:重量太多
mice returns Error in nnet.default: too many weights
我用的mice包有错误:
Error in nnet.default(X, Y, w, mask = mask, size = 0, skip = TRUE, softmax = TRUE, : too many (1734) weights;
我尝试设置
imp<-mice(w,MaxNWts = 2000,seed=1234)
但显示另一个错误:
Error in nnet.default(X, Y, w, mask = mask, size = 0, skip = TRUE, softmax = TRUE, :
formal argument "MaxNWts" matched by multiple actual arguments
我该怎么办?
我已经解决了问题;
imp<-mice(w,seed=1234,nnet.MaxNWts = 2000)
我用的mice包有错误:
Error in nnet.default(X, Y, w, mask = mask, size = 0, skip = TRUE, softmax = TRUE, : too many (1734) weights;
我尝试设置
imp<-mice(w,MaxNWts = 2000,seed=1234)
但显示另一个错误:
Error in nnet.default(X, Y, w, mask = mask, size = 0, skip = TRUE, softmax = TRUE, : formal argument "MaxNWts" matched by multiple actual arguments
我该怎么办?
我已经解决了问题;
imp<-mice(w,seed=1234,nnet.MaxNWts = 2000)