No-Regret Prediction in Marginally Stable Systems