Dear All, I want to run neural network on my data.
i run these codes: #load mydata dim(mydata) # 20 3111 library(neuralnet) fm <- as.formula(paste("resp ~", paste(colnames(mydata)[1:3110], collapse="+"))) out <- neuralnet(fm,data=mydata, hidden = 4, lifesign = "minimal", linear.output = FALSE, threshold = 0.1) #load testset dim(testset) # 20 3111 out.results <- compute(out, testset) Error in neurons[[i]] %*% weights[[i]] : non-conformable arguments what should I do now? Regards, Soheila [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.