[R] an error in my using of nnet

From: Weiwei Shi <helprhelp_at_gmail.com>
Date: Wed 12 Oct 2005 - 06:29:07 EST


Hi, there:
I am trying nnet as followed:

> mg.nnet<-nnet(x=trn3[,r.v[1:100]], y=trn3[,209], size=5, decay = 5e-4,
maxit = 200)
# weights: 511
initial value 13822.108453

iter 10 value 7408.169201
iter 20 value 7362.201934
iter 30 value 7361.669408
iter 40 value 7361.294379
iter 50 value 7361.045190

final value 7361.038121
converged
Error in y - tmp : non-numeric argument to binary operator

Please help!
Thanks,

Weiwei

--
Weiwei Shi, Ph.D

"Did you always know?"
"No, I did not. But I believed..."
---Matrix III

	[[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Oct 12 06:34:29 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:41 EST