Re: [R] Neuralnet Error

2012-08-01 Thread arun
alnet(Output~Sepal.Length+Sepal.Width+Petal.Length+Petal.Width,data=ir4,err.fct="sse",hidden=c(3),linear.output=FALSE) #plot(n) #prediction(n) S.Length <-c(3.5) S.width<-c(2.0) P.Length <- c(1) P.Width<-c(0.1) From: arun To: Rahul Bhalla Cc:

Re: [R] Neuralnet Error

2012-08-01 Thread arun
t;setosa","versicolor",..: 1 1 1 1 1 1 1 1 1 1 ...  $ Output  : num  1 1 1 1 1 1 1 1 1 1 ... Hope it helps you. A.K. - Original Message - From: Rahul Bhalla To: "r-help@r-project.org" Cc: Sent: Wednesday, August 1, 2012 1:51 PM Subject: [R] Neuralnet Error I requ

Re: [R] Neuralnet Error

2012-08-01 Thread R. Michael Weylandt
Hi -- this isn't really reproducible: can you follow the advice given here and make a small reproducible example: http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example Best, Michael On Wed, Aug 1, 2012 at 12:51 PM, Rahul Bhalla wrote: > I require some help in deb

[R] Neuralnet Error

2012-08-01 Thread Rahul Bhalla
I require some help in debugging this code  library(neuralnet) ir<-read.table(file="iris_data.txt",header=TRUE,row.names=NULL) ir1 <- data.frame(ir[1:100,2:6]) ir2 <- data.frame(ifelse(ir1$Species=="setosa",1,ifelse(ir1$Species=="versicolor",0,""))) colnames(ir2)<-("Output") ir3 <- data.frame(rbi