HI, Dear R community,

My data set has 2409 variables, the  last one is response variable.  I have
used the nnet after feature selection and works. But this time, I am using
nnet to fit a model without feature selection. I got the following error
information:

> dim(train)
[1] 1827 2409

 nnet.fit<-nnet(as.factor(out) ~ ., data=train,  size=3, rang=0.3,
decay=5e-4, maxit=500)  # model fitting
*Error in nnet.default(x, y, w, entropy = TRUE, ...) :
  too many (7231) weights*


The data set is bigger than 25MB, can not be attached.

Many thanks!


-- 
Sincerely,
Changbin
--

        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to