Closed suellentz closed 1 year ago
Hi, I use the RSNNS package and today I noticed something strange. It always worked, however, today I used it and the forecast is very strange.
Do you know something? I am writing an article with this package.
require(RSNNS) a<-jordan(scale(mtcars[,5]),mtcars[,1], size=8, learnFuncParams = c(0.1), maxit=1000,linOut = TRUE) b<-predict(a,data.frame(scale(mtcars[,5]))) plot(mtcars[,1],type="l",col="blue",ylim = c(1,40)) lines(b,type="l",col="black") summary(a) weightMatrix(a) a<-mlp(mtcars[,5],mtcars[,1], size=10, learnFuncParams = c(0.1), maxit=1000,linOut = TRUE) b<-predict(a,data.frame(mtcars[,5])) plot(mtcars[,1],type="l",col="blue",ylim = c(1,40)) lines(b,type="l",col="black")
Hi, I use the RSNNS package and today I noticed something strange. It always worked, however, today I used it and the forecast is very strange.
Do you know something? I am writing an article with this package.
require(RSNNS) a<-jordan(scale(mtcars[,5]),mtcars[,1], size=8, learnFuncParams = c(0.1), maxit=1000,linOut = TRUE) b<-predict(a,data.frame(scale(mtcars[,5]))) plot(mtcars[,1],type="l",col="blue",ylim = c(1,40)) lines(b,type="l",col="black") summary(a) weightMatrix(a) a<-mlp(mtcars[,5],mtcars[,1], size=10, learnFuncParams = c(0.1), maxit=1000,linOut = TRUE) b<-predict(a,data.frame(mtcars[,5])) plot(mtcars[,1],type="l",col="blue",ylim = c(1,40)) lines(b,type="l",col="black")