If you want to filter data, look at the work of John Ehlers, and specifically his zero-lag filter for a lowpass. If you want a stationary series you can highpass or bandpass the data, again Ehlers is the man. He even has a paper on linear prediction.
More in the ML realm, there is something...