Thanks, Claudia!
On Tue, Oct 12, 2010 at 9:54 AM, Claudia Beleites <cbelei...@units.it>wrote: > I'm not sure how much fun it is to fit > 7000 weights with 1800 samples, > but you can tell nnet to allow more weights with MaxNWts, see ?nnet > > > > On 10/12/2010 06:45 PM, Changbin Du wrote: > >> 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! >> >> >> > > -- > Claudia Beleites > Dipartimento dei Materiali e delle Risorse Naturali > Università degli Studi di Trieste > Via Alfonso Valerio 6/a > I-34127 Trieste > > phone: +39 0 40 5 58-37 68 > email: cbelei...@units.it > -- Sincerely, Changbin -- Changbin Du DOE Joint Genome Institute Bldg 400 Rm 457 2800 Mitchell Dr Walnut Creet, CA 94598 Phone: 925-927-2856 [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org 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.