Sequential Monte Carlo method for training Neural Networks on non-stationary time series