Time Series forecasting: Automatic Determination of Lags and Radial Basis Neural Networks for a Changing Horizon Environment