[R] non-conformable arguments
Soheila Khodakarim
lkhodakarim at gmail.com
Mon Mar 30 14:10:57 CEST 2015
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]]
More information about the R-help
mailing list