Time Series Forecasting with Neural Networks (nnfor): Implementing MLP in R using nnfor

library(nnfor)
attach(Forecast_for_nnfor)
tsrecon<-ts(annual)
plot(tsrecon)
mlp.fit<-mlp(tsrecon)
plot(mlp.fit)
print(mlp.fit)
mlp.frc<-forecast(mlp.fit, h=15, include= total year numbers)
plot(mlp.frc)
summary(mlp.frc)

Example:

library(nnfor)
attach(Forecast_for_nnfor)
tsrecon<-ts(annual)
plot(tsrecon)
mlp.fit<-mlp(tsrecon)
plot(mlp.fit)
print(mlp.fit)
mlp.frc<-forecast(mlp.fit, h=15, include=38)
plot(mlp.frc)
summary(mlp.frc)

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply

    Your email address will not be published. Required fields are marked *