What is the R code for neuralnet for time series forecasting? <http://stats.stackexchange.com/questions/229783/what-is-the-r-code-for-neuralnet-for-time-series-forecasting>
This question might seem very basic but I can´t seem to get the code right. I have the data for the Pound/Euro Exchange rate for 143 days. I use the first 115 days of data as my traning set. And I am trying to train the neuralnetwork by using: neuralnet(formula, data, hidden layers...) But I cannot make it work. My question is, fot this kind of data and taking into account that I only want to do a one step ahead prediction x(t+1) what would the code look like to then be able to test the rest of the data on the model given? Thank you so much in advance [[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.